Java Learning: Debug Debugger

Debug track

Debug debugging:

  • Makes the code line by line, look at the code execution process, the debugger appears in bug

Use:

  • The right line number, and click the left mouse button, add breakpoints (the first line of each method, where a bug where to add)
  • Right, select Debug program execution
  • The program will stay in the first breakpoint added

execute program:

  • f8: progressive implementation of the program
  • f7: the method proceeds to
  • shift + f8: Method out
  • f9: skip to the next breakpoint, if there is no next break, then the program ends
  • ctrl + f2: Exit debug mode, stop the program

Guess you like

Origin www.cnblogs.com/cainiao-chuanqi/p/11223262.html