Debug connection dropped

Hi there.

I am attempting to attach to a Ignition Gateway service on a local network following the instructions given in the Ignition Programmer’s Guide document (step 1 and 2 in section 2.4).
The wrapper log states that:

WARN | wrapper | 2013/10/15 10:44:53 | The JVM is being launched with a debugger enabled and could possibly
WARN | wrapper | 2013/10/15 10:44:53 | be suspended. To avoid unwanted shutdowns, timeouts will be
WARN | wrapper | 2013/10/15 10:44:53 | disabled, removing the ability to detect and restart frozen JVMs.

However, when attemping to attach to the process from Eclipse, the JVM/TanukiWrapper no longer listens to the port specified:

(after restart, it is OK, we are listening on port 8000)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 637/sshd
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 1769/xrdp
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 720/smbd
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 1363/java
tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN 1363/java
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1190/mysqld

(after running the debug from Eclipse, no port 8000)

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 637/sshd
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 1769/xrdp
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 720/smbd
tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN 1363/java
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1190/mysqld

Looking at wrapper.tanukisoftware.com/doc/e … g-jvm.html yelded no useful solution.

Can you help with this, please? I am with Development Mode 7.5.5 (b1255), and Sun JDK 1.6.0_45.

Thank you in advance!

I have tried this and it is working for me. I can attach/detach the debugger multiple times without issues as long as I use the “Disconnect” menu to detach the debugger. So maybe it all depends on how you stop debugging? Whenever a disconnect the debugger, I have the following message in the logs

Listening for transport dt_socket at address: 8001

Cheers

Nicolas