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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to