I have had good luck with the following incantation - note this is for Windows but should be able to be modified for other OS's:
This is one line in a batch file C:\jdk1.3.1\bin\java.exe -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=6001,server=y,suspend=n -jar -Duser.dir="C:\Program Files\Apache Tomcat 4.0" "C:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar" start Then in Emacs I select something like (can't remember) JDebug->attach to local process and tell it to use localhost, port 6001 Hope this helps John H > I'm trying to use JDEbug to debug servlets running on Tomcat. I am > running Tomcat using the JVM version 1.4.0_01 where the "-classic" > option is no longer available. > > JDEbug does not seem to be stopping at the breakpoints that I've set. > Is that because there are still problems using JPDA with Hotspot? Sun > claims to have corrected these in JRE 1.4.x ??? > > Anybody have any ideas? > > Thanks in advance, > > Mark > > Mark Hansen > bus tel: 888-360-7285 > bus fax: 914-723-8671 > email: [EMAIL PROTECTED]
