Debug « jmx « Java Enterprise Q&A





1. Enable/disable debugger support for the currently running JVM from Java code    stackoverflow.com

Is there an interface (maybe part of JMX) that I can use to dynamically enable or disable the JVM debugger support from Java code inside that JVM? (See also http://stackoverflow.com/questions/376201/debug-a-java-application-without-starting-the-jvm-with-debug-arguments —CRM) ...

2. Directing IntelliJ to sources when debugging an external application    stackoverflow.com

Say you have the source of an application, and you're debugging the jar via JMX. How do you tell IntelliJ where the source is?

3. Debugging JConsole Connection Failed    stackoverflow.com

Good day, I have a web application deployed to a remote resin server, and it has JMX turned on. I can telnet to the remote server i.e

franz@see:/tmp$ telnet <remote-ip> 5555
Trying <remote-ip>...
Connected to <remote-ip>.
Escape ...