Running a java program give the output on console.but to analysis the
detail of java program ,need to debug using Breakpoint,on which line we have to pause the execution of running java program,just simply
Toggle Breakpoint on that line .Right Click on corresponding line as show below
Here Toggle Breakpoint on Main function and then click on debug button as shown below
Chosse yes for Debug perspective
Overview of Debug perspective .It Contain the debug Section where current thread on execution is shown
and variable section show the stack of current java program (local variable).Debug current Instruction pointer indicate that upto which line processing has been done and on which line it point has to be done
press f6 button to go on next line and it will show the output on console section .f6 is used to step over.
abstraction is naked in next post ,this post just give idea that how to run the debug perspective.
Here Toggle Breakpoint on Main function and then click on debug button as shown below
Chosse yes for Debug perspective
Overview of Debug perspective .It Contain the debug Section where current thread on execution is shown
and variable section show the stack of current java program (local variable).Debug current Instruction pointer indicate that upto which line processing has been done and on which line it point has to be done
press f6 button to go on next line and it will show the output on console section .f6 is used to step over.
abstraction is naked in next post ,this post just give idea that how to run the debug perspective.