Open PaDebug opened 3 years ago
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Sounds like a bug. It should be possible to call the setBreakPoints
request only once for a single call to vscode.debug.removeBreakpoints
.
Does this issue occur when all extensions are disabled?: Yes
Hello,
currently I´m working on a debug adapter extension for microcontrollers (gdb) and I want to remove some breakpoints with the function from the vscode API: "vscode.debug.removeBreakpoints()". If call the function "vscode.debug.removeBreakpoints()" with the current list of breakpoints, it triggers the "setBreakPointsRequest(response: DebugProtocol.SetBreakpointsResponse, args: DebugProtocol.SetBreakpointsArguments) " from the debug adapter as many times as breakpoints in the list. If remove one breakpoint it gets triggered one time, two breakpoints two times and so on. Is that the normal behavior, because I remove every breakpoint every time the "setBreakPointsRequest" is called as in the debug protocol specification specified?
Used debugger: gdb.
Steps to reproduce:
Screenshot of debug console:![image](https://user-images.githubusercontent.com/84393343/121908951-c2c75d80-cd2d-11eb-9f91-41fe3fe884af.png)