diff --git a/bootstrap/ISBPL.java b/bootstrap/ISBPL.java index 6b91987..53be020 100644 --- a/bootstrap/ISBPL.java +++ b/bootstrap/ISBPL.java @@ -1289,6 +1289,7 @@ class ISBPLDebugger extends Thread { while (socket == null) { try { socket = new ServerSocket((int) (Math.random() * 5000 + 5000)); + port = socket.getLocalPort(); System.err.println("Debugger listening on :" + socket.getLocalPort()); } catch (BindException ignored) { }