• 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

Why is Eclipse now only debugging one DAOImpl?

 
Ranch Hand
Posts: 1021
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi expert,

I have only learnt how to use Eclipse to do debugging in more than one way.

So, I tied out method breakpoint in one of my DAOImpl which is not inserting data now.

What I did was choose view, outline and then from there I put the breakpoint on the method of the DAOImpl I want to debug.

The sad thing is that no matter what I do, Eclipse is not debugging the entire Web App as before.

Neither it is debugging on the method that I had put a breakpoint.

I am stuck.

Hope someone can tell me how to reverse everything back to last time I can debug the entire app.

IDE - Eclipse EE

Tks.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible you started the server in run mode instead of debug mode?
 
tangara goh
Ranch Hand
Posts: 1021
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,

No.  I tried many times before I posted the problem to the forum.

And now even with the new installation of Eclipse Mars 2, it is not helping at all
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Other ideas to try:
  • Create a new workspace and pull the code into it. Does the problem still occur? If not, it is a setting in the workspace.
  • If you write a main method or JUnit test and set a breakpoint does it work? If not, you are either using Eclipse wrong somehow or Eclipse is horribly broken.
  • Try setting a breakpoint in the entry point of the web app (servlet or controller). If that works, then maybe the code isn't executing the dao that you expect it to.
  •  
    Something must be done about this. Let's start by reading this tiny ad:
    a bit of art, as a gift, the permaculture playing cards
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic