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:
oltolm
2024-09-28 11:35:04 +02:00
committed by Tom Tromey
parent 98b1464bdf
commit 59529d80e8

View File

@@ -208,9 +208,9 @@ def _set_breakpoints_callback(kind, specs, creator):
}
)
# Delete any breakpoints that were not reused.
for entry in saved_map.values():
entry.delete()
# Delete any breakpoints that were not reused.
for entry in saved_map.values():
entry.delete()
return result