I do this with Eclipse all the time. The steps to reproduce my configuration are
shown below.

1. Configure the following environment variables:
JPDA_ADDRESS=8999
JPDA_TRANSPORT=dt_socket

2. Start tomcat from the command line with:
catalina jpda start
or
catalina jpda run

3. In Eclipse configure a "Remote Java Application" with the following settings:
Connection type   Standard (socket attach)
Host              localhost
Port              8999

This assumes you have the correct tomcat source code setup in an Eclipse
project. Don't worry if you Eclipse shows build errors, it will still let you
debug.

Mark

-----Original Message-----
From: Afshartous, Nick [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 10, 2004 3:54 AM
To: '[EMAIL PROTECTED]'
Subject: remote debugging


Hi,

Could someone please advise on the steps
to enable remote debugging on Tomcat 4.1, thanks.


--
    Nick
 



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

Reply via email to