I'm wondering the same question. How do I setup tomcat to debug remotely?

I found this doc:
http://jakarta.apache.org/site/idedev-rdeclipse.html

But in that page, it just assumes that you've got tomcat already setup to debug remotely, and it doesn't give a link anywhere on the page on how to do it.

Could someone post the link? AND it would be nice if someone added the link to the above idedev-rdeclipse page

Thanks,
Daniel

[EMAIL PROTECTED] wrote:

Hi Rodrigo,

it is possible to debug a remote server in eclipse, which is not started in
the ide?
Do you have a link where I can find informations about this technique or a
little bit time to explain it for me?

Thanx
Jens

-----Urspr�ngliche Nachricht-----
Von: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. Mai 2004 12:27
An: Tomcat Users List
Betreff: Re: How to limit time for Connector threads?


rlipi wrote:




I am going to try Antonio's proposal. Also I would like to try some
profiling tool. But it will take a lot of time to find and repair
something, I think.





If you are dealing with a programming error like an infinite loop or a deadlock, you may have better luck using a debugger, rather than a profiling tool :-)

Most of the popular IDEs (JBuilder, Eclipse, Idea, etc) can do remote debugging, so you just need to start your server (or a copy of it) in debug mode and connect to it from the IDE.

In case you do not have any IDE, my recommendation is Eclipse, as it is free and needs no complicated installation.
In case you do not know how to use remote debugging, I am pretty sure you can search through the archives in this list, or do some googling ;-)


Hope it helps you,
Rodrigo Ruiz






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



Reply via email to