fix _enable_debug

This commit is contained in:
Daniella / Tove 2022-03-07 15:21:03 +01:00
parent 645d1bd918
commit 91b05d9f3d

View file

@ -1033,6 +1033,7 @@ public class ISBPL {
debug = !System.getenv().getOrDefault("DEBUG", "").equals(""); debug = !System.getenv().getOrDefault("DEBUG", "").equals("");
if(debug) { if(debug) {
new ISBPLDebugger(isbpl).start(); new ISBPLDebugger(isbpl).start();
isbpl.debuggerIPC.run = 0;
} }
try { try {
File std = new File(System.getenv().getOrDefault("ISBPL_PATH", "/usr/lib/isbpl") + "/std.isbpl"); File std = new File(System.getenv().getOrDefault("ISBPL_PATH", "/usr/lib/isbpl") + "/std.isbpl");
@ -1274,7 +1275,6 @@ class ISBPLDebugger extends Thread {
public ISBPLDebugger(ISBPL isbpl) { public ISBPLDebugger(ISBPL isbpl) {
this.isbpl = isbpl; this.isbpl = isbpl;
isbpl.debuggerIPC.run = 0;
} }
@Override @Override