I use eclipse juno & netbeans 7.2 for this:-
I use simple code as below:-
aim:- try to understand whats really happens behind before output seen on screen. I start with simple one...want to go for harder...
scenario:- As i tried in eclipse i can see in lots of variable sets before print statement execute...all variables for class.Some are as follows:-
threadStatus,tid,uncaughtExceptionHandler...etc many more
From netbeans debugging i got info that (when all lines set breakpoint)
Almost 884 lines debug output.
& 22 java files use like Class.java,System.java,Collections.java... & helloworld.java which is source.
1. For simple class which use is also simple...really needs so much variables setting which shown in eclipse debugging activity in variables.
2. For more deep debugging should i put more breakpoints in java's .java files all lines? Some files contain more than 2000 lines. What is a best practice for put breakpoints?
Millions saw the apple fall, but Newton asked why.