[Java] Debug program

Debug debugging program :
can make the code line by line to see the process of execution of the code, bug debugger appear in
use :
the right line number, and click the left mouse button, add breakpoints (the first line of each method, where bug Add to where)
the right, select Debug program execution
the program will stop at the first breakpoint add the
execution of the program :
f8: progressive implementation of the program
f7: into the process
shift + f8: stepping method
f9: jump to the next breakpoint, if there is no next break point, then end the program
ctrl + f2: exit debug mode, stop the program
console: switch to the console

Published 238 original articles · won praise 6 · views 20000 +

Guess you like

Origin blog.csdn.net/u011035397/article/details/105055678