You must give tomcat a startup option before you can do that.

Here's how I run tomcat in a console, and debug separately with Eclipse

$cd tomcat-5.5.11/bin
$./catalina.sh jpda start & tail -f ../logs/catalina.out




--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: callto://jmitchtx





On Sep 21, 2005, at 8:57 AM, Praveen Kumar wrote:

Hi

In Eclipse there is DEBUG option in DEBUG-->Remote-->Create New --- >give portno and other options --> Add BreakPoint In your (java file ) and you can watch the variable values --> press F8 for next line execution ..... the application should be in running mode in tomcat.....

Regards
praveen

ojay78 <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED],



how can I debug my Struts application? I'm using myeclipse 4.0 for
development and Tomcat 5.5.9?



I'm new in Struts + tomcat development. Does anyone can give me a tutorial
that shows me how to debug my webapp?



Thanks

OJAY


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to