How to put debugger in Eclipse when you dont know where(which class) to put debugger breakpoint?
posted 3 years ago
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.
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.