Skip to content

Commit

Permalink
dap: restore stepping debugger functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
profelis committed Aug 30, 2023
1 parent ec77791 commit d42679c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions daslib/debug.das
Original file line number Diff line number Diff line change
Expand Up @@ -1805,6 +1805,13 @@ def private start_agent(force:bool = false)
set_single_step(this_context(), !use_instruments() || wait_debugger())
return true

[init]
def init_stepping_debugger()
if (use_instruments() || !wait_debugger() || (is_in_aot() && loads_itself()) ||
is_in_debug_agent_creation() || !is_compiling_macros_in_module("debug") || is_in_completion())
return
set_single_step(this_context(), true)

[_macro]
def private auto_start_debug()
if (is_in_aot() && loads_itself()) || is_in_debug_agent_creation() || !is_compiling_macros_in_module("debug") || is_in_completion()
Expand Down

0 comments on commit d42679c

Please sign in to comment.