views:

326

answers:

1

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  A: 

I had the same question but I worded it differently the answer I got was there is a way

using the jsadebugd

hhafez