This discussion is archived
1 Reply Latest reply: Oct 18, 2011 7:41 AM by 800151 RSS

API to turn on debugging in a running JVM

746064 Newbie
Currently Being Moderated
Hello Folks,

Is there a programmatic way to turn on debugging in a running JVM instance? I am looking for an API that would make a running JVM, a debug server. The API would do the equivalent of ' -Xdebug -Xrunjdwp:transport=dt_socket,address=<host:port>,server=y,suspend=n'.

Thanks for any insights.
Ranjit

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points