[jboss-as7-dev] Switch to standard Java debug options -Xrunjdwp --> -agentlib?

Cheng Fang cfang at redhat.com
Sat Sep 15 22:29:49 EDT 2012


AS7 currently has the Java debug options 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

This uses non-standard options, which may be removed in future JDK, and 
may not work with other vendors' JDK.

How about switching to use the standard options, to make it easier to 
maintain and port?
-agentlib:jdwp=transport=dt_socket,address=localhost:8787,server=y,suspend=n

Cheng


More information about the jboss-as7-dev mailing list