tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Gordon <adam.gor...@readytalk.com>
Subject Re: Debugging tomcat with eclipse
Date Wed, 13 Feb 2008 22:12:02 GMT
Actually, if one looks at the catalina.sh script, one woudl see that 
those are the defaults (unless they were changed) so one shouldn't need 
to change anything.

-adam

Luis Rivera wrote:
> And don't forget to set
>
> JPDA_ADDRESS=8000
>
> JPDA_TRANSPORT=dt_socket
>
> as you did before :)
>
> --Luis R.
>
> On Feb 13, 2008 9:19 AM, Adam Gordon <adam.gordon@readytalk.com> wrote:
>
>   
>> 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/catalina.sh 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
>> Dialog."
>>
>> 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.
>>
>> --adam
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
>   

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message