This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes How to put debugger in Eclipse when you dont know where(which class) to put debugger breakpoint? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to put debugger in Eclipse when you dont know where(which class) to put debugger breakpoint?" Watch "How to put debugger in Eclipse when you dont know where(which class) to put debugger breakpoint?" New topic
Author

How to put debugger in Eclipse when you dont know where(which class) to put debugger breakpoint?

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 639
I know how to put debugger breakpoint on a class when you know which class is having that problem code.and then move the debugger forward with F6 keys and F8 keys (in ECLIPSE). But what about a case when you dont know where to put debugger breakpoint. When you dont know which class to put the debugger breakpoint in. So in such a case how to do debugging.where to put debugger which keys to use to move forward.

thanks
Tomek Ziolkowski
Greenhorn

Joined: Mar 07, 2012
Posts: 9

If you don't get any exceptions (so that you don't know where the problem is) and your code still doesn't work as expected then you should probably think of where the problem may exists inside the code, then put some breakpoints there and debug the code step-by-step, verifying expected results at each step. Can't see any other way.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to put debugger in Eclipse when you dont know where(which class) to put debugger breakpoint?