remote debugging problem using jdb and 1.3.0

I know I've been able to use JDB in the past to remotely debug an application, but for some reason I can't get it to work with 1.3.0-C.

I've set up a very simple 'toy' Swing application as a test.

I have copied this example almost directly from the Sun tool docs:

=======================

set path=d:\batch;d:\jdk1.3\bin

java -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n D:\MyDir\MySwingApplication

=======================

I try to connect using this:

=======================

set path=d:\batch;d:\jdk1.3\bin

jdb -attach jdbconn

=======================

But I get a NullPointerException when it tries to connect:

Internal exception: java.lang.NullPointerException

at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:138)

at com.sun.tools.example.debug.tty.Env.init(Env.java:68)

at com.sun.tools.example.debug.tty.TTY.main(TTY.java:923)

It doesn't seem to matter whether I use the classic or the HotSpot VM. Both give the same error.

Any thoughts?

[1157 byte] By [pfarwell] at [2007-9-26 1:20:30]
# 1
I guess I can answer the question myself...Turns out that there was a problem in 1.3.0. BugParade #4342974.
pfarwell at 2007-6-29 0:54:42 > top of Java-index,Archived Forums,Debugging Tools and Techniques...