I have WinXP Pro SP1 with the following installed:
JDK v1.4.2-5
Tomcat v4.1.30
Eclipse v3.0.0
MyEclipse Enterprise Workbench v3.8.0
I’m totally lost in figuring out how to get the Eclipse/MyEclipse environment configured to connect to an instance of Tomcat for debugging.
I am able to deploy [exploded form] to my local Tomcat installation and I can access my Struts-based webapp through Mozilla. I have my local installation of Tomcat manually started with the following options set to enable debugging [watch for wrapping]:
SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
I also have Tomcat v4.1.x on a NetWare v6.5 server and on an OpenVMS Alpha v7.3-1 system.
I want to be able to set breakpoints in the Java classes that my webapp is based on and have MyEclipse connect to either the local instance of Tomcat or one of the remote instances of Tomcat to debug my webapp as it executes.
Is there a comprehensive tutorial that explains all of the fine details of setting up the remote debugging configuration?