Tomcat not stopping at breakpoints [message #165295] |
Wed, 29 March 2006 11:58 |
Eclipse User |
|
|
|
Originally posted by: lists.humanesoftware.com
I've just set up a new Eclipse installation, installed and configured Sysdeo's Tomcat plugin, and
set up my existing project within Eclipse. I can start and stop Tomcat without trouble, and I can
set breakpoints within my code. However, when I trigger the servlet that eventually calls my code
(I'm using Spring), none of the breakpoints are triggered. I know the functions are being executed
because I see stack traces in the log output (execptions are getting thrown, which is why I'd like
to debug the code).
Tomcat has been started in debug mode by the plugin, assuming that is the only way I'd be seeing a
tomcat process list in the Debug Perspective.
I haven't used Eclipse that much ever, and the last time was more than a year ago. I couldn't find
any how-tos, blog entries, or forum posts that suggested where I should look for solutions to this
problem. Does anyone here have some suggestions?
Thanks!
Mark
|
|
|
Re: Tomcat not stopping at breakpoints [message #165303 is a reply to message #165295] |
Wed, 29 March 2006 13:57 |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
Sysdeo's Tomcat plugin != WTP
Try asking the Sysdeo mailing list, forums, etc.
HTH,
Daniel Serodio
Mark Slater wrote:
> I've just set up a new Eclipse installation, installed and configured
> Sysdeo's Tomcat plugin, and set up my existing project within Eclipse. I
> can start and stop Tomcat without trouble, and I can set breakpoints
> within my code. However, when I trigger the servlet that eventually
> calls my code (I'm using Spring), none of the breakpoints are triggered.
> I know the functions are being executed because I see stack traces in
> the log output (execptions are getting thrown, which is why I'd like to
> debug the code).
>
> Tomcat has been started in debug mode by the plugin, assuming that is
> the only way I'd be seeing a tomcat process list in the Debug Perspective.
>
> I haven't used Eclipse that much ever, and the last time was more than a
> year ago. I couldn't find any how-tos, blog entries, or forum posts that
> suggested where I should look for solutions to this problem. Does anyone
> here have some suggestions?
>
> Thanks!
> Mark
|
|
|
Re: Tomcat not stopping at breakpoints [message #165319 is a reply to message #165303] |
Wed, 29 March 2006 19:29 |
Eclipse User |
|
|
|
Originally posted by: lists.humanesoftware.com
Well, the only description I found for this newsgroup on the Eclipse website was that its topics
fell under "Application Development > Web Applications", and "Programming Languages > Java/JSP". I'm
not even user what you mean by WTP. But for the people who maintain the list of eclipse related
newsgroups on the website, if the newsgroups aren't intended to be used for general eclipse-related
questions, some amount of description as to the intended topics would be helpful.
Sorry for the off-topic thread.
Mark
Daniel Serodio wrote:
> Sysdeo's Tomcat plugin != WTP
>
> Try asking the Sysdeo mailing list, forums, etc.
>
> HTH,
> Daniel Serodio
>
> Mark Slater wrote:
>
>>I've just set up a new Eclipse installation, installed and configured
>>Sysdeo's Tomcat plugin, and set up my existing project within Eclipse. I
>>can start and stop Tomcat without trouble, and I can set breakpoints
>>within my code. However, when I trigger the servlet that eventually
>>calls my code (I'm using Spring), none of the breakpoints are triggered.
>>I know the functions are being executed because I see stack traces in
>>the log output (execptions are getting thrown, which is why I'd like to
>>debug the code).
>>
>>Tomcat has been started in debug mode by the plugin, assuming that is
>>the only way I'd be seeing a tomcat process list in the Debug Perspective.
>>
>>I haven't used Eclipse that much ever, and the last time was more than a
>>year ago. I couldn't find any how-tos, blog entries, or forum posts that
>>suggested where I should look for solutions to this problem. Does anyone
>>here have some suggestions?
>>
>>Thanks!
>>Mark
|
|
|
Re: Tomcat not stopping at breakpoints [message #165679 is a reply to message #165295] |
Mon, 03 April 2006 06:20 |
Eclipse User |
|
|
|
Originally posted by: marx.nospam_wasko.pl
Does it stops, but you don't see your breakpoint highlighted?
If yes, try to browse threads and find one with description "suspended,
stopped at line xxxx" and choose it, now breakpoint should work.
It happens sometimes :)
Marx
|
|
|
Powered by
FUDForum. Page generated in 0.03042 seconds