From a1cef8f7f3c29f7304ae60a7496aa00da513fd93 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 14 Mar 2022 22:17:07 +0100 Subject: [PATCH] _enable_debug now returns current port if called after debugger is already started --- bootstrap/ISBPL.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bootstrap/ISBPL.java b/bootstrap/ISBPL.java index 9f470ee..a2f40ac 100644 --- a/bootstrap/ISBPL.java +++ b/bootstrap/ISBPL.java @@ -796,10 +796,8 @@ public class ISBPL { catch (InterruptedException e) { e.printStackTrace(); } - stack.push(new ISBPLObject(getType("int"), debugger.port)); } - else - stack.push(new ISBPLObject(getType("int"), 0)); + stack.push(new ISBPLObject(getType("int"), debugger.port)); }; break; case "_getvars":