set REMOTE_DEBUG=-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=n,address=8081,suspend=y
%JRE%\bin\java %REMOTE_DEBUG% -classpath %CLASSPATH%
-Xbootclasspath:%ORBJARS%;%JRE%\lib\rt.jar package.myClass
When trying to fire this up, I'm getting this error
ERROR: transport error 202: connect failed: Connection refused
["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510) ["debugInit.c",L500]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports
initializedFATAL ERROR in native method: JDWP No transports
initialized, jvmtiError
=JVMTI_ERROR_INTERNAL(113)
I'm pretty sure this worked with java 1.3, but with 5.0, I'm having no
luck.
jhr - 31 Mar 2006 23:19 GMT
try changing server=y
sparty - 03 Apr 2006 14:01 GMT
Yep, looks like I accidently switched server and suspend around.
Thanks.
should have been
server=y suspend=n