This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Why is Eclipse now only debugging one DAOImpl?  RSS feed

 
Ranch Hand
Posts: 399
  • 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.
 
author & internet detective
Sheriff
Posts: 38564
654
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: 399
  • 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
Sheriff
Posts: 38564
654
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!