• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why is Eclipse now only debugging one DAOImpl?  RSS feed

 
tangara goh
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • 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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible you started the server in run mode instead of debug mode?
 
tangara goh
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • 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
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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.
  •  
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!