From 5fc5eb08f89955badc81774aa05671aa3dc5482b Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Sat, 30 Mar 2024 12:52:44 +0200 Subject: [PATCH] fix: update breakpoints when removing bp --- gradle.properties | 2 +- src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 9fe9849..ee1b266 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ project_group = me.topchetoeu project_name = jscript -project_version = 0.9.26-beta +project_version = 0.9.27-beta main_class = me.topchetoeu.jscript.utils.JScriptRepl diff --git a/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java b/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java index 74647d9..aa19abc 100644 --- a/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java +++ b/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java @@ -750,6 +750,7 @@ public class SimpleDebugger implements Debugger { var id = Integer.parseInt(msg.params.string("breakpointId")); idToBreakpoint.remove(id); + updateBreakpoints(); ws.send(msg.respond()); } @Override public synchronized void continueToLocation(V8Message msg) throws IOException {