Can't start remote debug session in JRE 5.0

S

sparty

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.
 
S

sparty

Yep, looks like I accidently switched server and suspend around.
Thanks.

should have been

server=y suspend=n
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top