_enable_debug now returns current port if called after debugger is already started

This commit is contained in:
Daniella / Tove 2022-03-14 22:17:07 +01:00
parent 8fd3d6b8c4
commit a1cef8f7f3

View file

@ -796,10 +796,8 @@ public class ISBPL {
catch (InterruptedException e) { catch (InterruptedException e) {
e.printStackTrace(); e.printStackTrace();
} }
stack.push(new ISBPLObject(getType("int"), debugger.port));
} }
else stack.push(new ISBPLObject(getType("int"), debugger.port));
stack.push(new ISBPLObject(getType("int"), 0));
}; };
break; break;
case "_getvars": case "_getvars":