Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions extension/script/backend/worker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ end

function CMD.run()
state = 'running'
hookmgr.break_closeline()
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Calling hookmgr.break_closeline() here disables line-level hooks for the current function scope by removing LUA_MASKLINE from the break_mask. Since the hook mask is only re-evaluated (via break_update in the C++ backend) when entering or returning from a function, any subsequent breakpoints within the same function will be ignored until the next function transition occurs. This introduces a regression where multiple breakpoints in a single function cannot be hit sequentially after resuming execution with 'Continue'.

hookmgr.step_cancel()
end

Expand Down
Loading