File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes tomcat under eclipse: breakpoints that don't Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "tomcat under eclipse: breakpoints that don Watch "tomcat under eclipse: breakpoints that don New topic
Author

tomcat under eclipse: breakpoints that don't

kirk israel
Greenhorn

Joined: May 28, 2009
Posts: 27
I don't know where to begin with this quite, but sometimes in Eclipse 3.4.2 I'm quite sure to set breakpoints, and start my instance of "Tomcat v6.0 Server at localhost "in debugging mode , but the breakpoints don't stop anything, even as I see the logger-based message do their thing.

Now, previously it was the case that breakpoints would work for a while, and then stop as the web app (JSF,SPring,Hibernate) continued along... I thought maybe it was once an exception was thrown , the debugger would be disconnected, but I've cleaned up a few things in the boot process (making sure the login bean was serializable, etc) and still... the break points don't stop the flow.

I know this is kind of a vague description, but I don't know what's useful to talk about, what could possibly be going wrong.... any thoughts on what generally causes non-disable breakpoints not to work (besides accidentally hitting run instead of debug...)
lungos lungos
Greenhorn

Joined: Aug 12, 2009
Posts: 1
I've got the same issue with eclipse 3.4.2 too and tomcat v5.5.

I don't know why but sometimes some breakpoints doen't brek, and after a while or a restart (without changing anything in the code or the way totest) it starts breaking

I'm sure that is an issue with the debugger, and i'm looking for a solution too (compilation option, i don't know ...).
kirk israel
Greenhorn

Joined: May 28, 2009
Posts: 27
I found an answer for myself!

Are you running Java 1.6.14 ??

A friend found a note on the Sysdeo plugin, that there's apparently an issue with debugging in 1.6.0_14

http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-120.html

I switched to 1.6.13 and it worked fine....
what a pain! Nothing worse than unreliable low level technology!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat under eclipse: breakpoints that don't