• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

tomcat under eclipse: breakpoints that don't

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...)
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!
 
This guy is skipping without a rope. At least, that's what this tiny ad said:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic