fix _enable_debug

This commit is contained in:
Daniella / Tove 2022-03-07 15:17:34 +01:00
parent 82bb27d01c
commit 93374fbf2e

View file

@ -1289,6 +1289,7 @@ class ISBPLDebugger extends Thread {
while (socket == null) { while (socket == null) {
try { try {
socket = new ServerSocket((int) (Math.random() * 5000 + 5000)); socket = new ServerSocket((int) (Math.random() * 5000 + 5000));
port = socket.getLocalPort();
System.err.println("Debugger listening on :" + socket.getLocalPort()); System.err.println("Debugger listening on :" + socket.getLocalPort());
} }
catch (BindException ignored) { } catch (BindException ignored) { }