• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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!!
 
I knew that guy would be trouble! Thanks tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic