forked from Imagelibrary/binutils-gdb
gdb-dap: disable events when deleting breakpoints
when I disable a breakpoint in VS Code the breakpoint is removed instead. I compared the behavior to lldb-dap and disabled events when removing a breakpoint. Now it is possible to disable and enable breakpoints in VS Code.
This commit is contained in:
@@ -208,9 +208,9 @@ def _set_breakpoints_callback(kind, specs, creator):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Delete any breakpoints that were not reused.
|
# Delete any breakpoints that were not reused.
|
||||||
for entry in saved_map.values():
|
for entry in saved_map.values():
|
||||||
entry.delete()
|
entry.delete()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user