tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Gordon <>
Subject Re: Debugging tomcat with eclipse
Date Wed, 13 Feb 2008 17:19:14 GMT
It's actually MUCH easier than that... :-)

If you use Tomcat's start and stop scripts, pass the "jpda" parameter to 
the script, e.g. "/usr/local/tomcat/bin/ jpda start"

Then, in Eclipse, select the Debug Perspective and then click the down 
arrow in the little green bug icon in the toolbar and select "Open Debug 

Right-click on "Remote Application Server" in the list on the left and 
select "New."  Name it whatever you want and use the Browse button to 
select the project you want to debug.  If tomcat is running on the same 
box, leave the host and port alone and click the Debug button in the 
lower right corner.

You should see a ton of threads appear in the Debug frame in the upper 
left.  You are now connected.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message