From 582c0861fb6b5318967972b206ded14e711d28d2 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Tue, 19 Apr 2022 03:16:33 +0200 Subject: [PATCH] debuggerIPC improvements --- bootstrap/ISBPL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/ISBPL.java b/bootstrap/ISBPL.java index bcfe244..c260fb2 100644 --- a/bootstrap/ISBPL.java +++ b/bootstrap/ISBPL.java @@ -1217,7 +1217,7 @@ public class ISBPL { if (rid == -2) { if (word.equals(debuggerIPC.until)) { debuggerIPC.run.put(Thread.currentThread().getId(), 0); - while (debuggerIPC.run.get(Thread.currentThread().getId()) == 0) Thread.sleep(1); + while (debuggerIPC.run.get(Thread.currentThread().getId()) != -1) Thread.sleep(1); } } if (rid == -3 && Thread.currentThread().getId() != debuggerIPC.threadID) {