fix: update breakpoints when removing bp

This commit is contained in:
TopchetoEU 2024-03-30 12:52:44 +02:00
parent 8acbc003c4
commit 5fc5eb08f8
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
project_group = me.topchetoeu project_group = me.topchetoeu
project_name = jscript project_name = jscript
project_version = 0.9.26-beta project_version = 0.9.27-beta
main_class = me.topchetoeu.jscript.utils.JScriptRepl main_class = me.topchetoeu.jscript.utils.JScriptRepl

View File

@ -750,6 +750,7 @@ public class SimpleDebugger implements Debugger {
var id = Integer.parseInt(msg.params.string("breakpointId")); var id = Integer.parseInt(msg.params.string("breakpointId"));
idToBreakpoint.remove(id); idToBreakpoint.remove(id);
updateBreakpoints();
ws.send(msg.respond()); ws.send(msg.respond());
} }
@Override public synchronized void continueToLocation(V8Message msg) throws IOException { @Override public synchronized void continueToLocation(V8Message msg) throws IOException {