Eclipse 3.1 Remote Debug - Start Tomcat 5.5 in debug mode on WinXP? [message #289329] |
Wed, 03 August 2005 18:58 |
Eclipse User |
|
|
|
Originally posted by: rick.strong.med.nyu.edu
I would like to debug servlets using Eclipse 3.1, servlets are running
on Tomcat 5.5 on a WinXP machine, but I'm having a bit of difficulty
finding the right way to start Tomcat in debug mode and connecting to it
with the Eclipse debugger.
I would be most grateful for any tips, pointers to HOWTOs, or any other
info that specifically targets WinXP and the current version of Tomcat.
Thanks,
Rick Strong
|
|
|
|
Re: Eclipse 3.1 Remote Debug - Start Tomcat 5.5 in debug mode on WinXP? [message #289333 is a reply to message #289331] |
Wed, 03 August 2005 19:28 |
Eclipse User |
|
|
|
Originally posted by: rick.strong.med.nyu.edu
Thanks for the reply,
When I installed Tomcaton XP, I ended up with no .BAT files. New
feature? I expect there is another way to pass debug configuration info
to the service, but I've been unsuccessful so far.
Rick
FreeGroup wrote:
> Hi
>
> start tomcat from a command shell with
>
> "catalina.bat jpda start"
>
>
> Configure Eclipse "Run->Debug..."
>
> create new "Remote Java Application" Entry and configure the port to 8000
>
> press the 'Debug' button....
>
> ..thats all (I hope!!)
>
> greetings
>
> Andreas
|
|
|
|
Re: Eclipse 3.1 Remote Debug - Start Tomcat 5.5 in debug mode on WinXP? [message #289737 is a reply to message #289468] |
Wed, 10 August 2005 14:40 |
Eclipse User |
|
|
|
Originally posted by: rick.strong.med.nyu.edu
Andreas,
Thanks very much, I've got it working now. So much better than 2500
println() statements :-)
Rick
FreeGroup wrote:
> don't use the tomcat installation .exe
> You can find a tomcat_xyz.zip on the jakarta webSite.
>
> unzip the package in any directory. In the bin directory is
> the required catalinat.bat
>
>
> Rick Strong wrote:
>
>> Thanks for the reply,
>>
>> When I installed Tomcaton XP, I ended up with no .BAT files. New
>> feature? I expect there is another way to pass debug configuration
>> info to the service, but I've been unsuccessful so far.
>>
>> Rick
>>
>> FreeGroup wrote:
>>
>>> Hi
>>>
>>> start tomcat from a command shell with
>>>
>>> "catalina.bat jpda start"
>>>
>>>
>>> Configure Eclipse "Run->Debug..."
>>>
>>> create new "Remote Java Application" Entry and configure the port to
>>> 8000
>>>
>>> press the 'Debug' button....
>>>
>>> ..thats all (I hope!!)
>>>
>>> greetings
>>>
>>> Andreas
|
|
|
Powered by
FUDForum. Page generated in 0.03196 seconds