Intellij IDEA study notes-getting started with Debug

1. Turn on debug mode

Click on the green bug to turn on the debug mode, if there is not in the top bar, then select Run-Debug

 

2. Detailed explanation of several buttons

1 jump to the next step

2 Enter the method body

3 Force into the method body

4 jump out of the method body

5 Run to the cursor

6 Calculate the result of running the code

7 Jump to the next breakpoint

8 stop code running

9 view all breakpoints

Guess you like

Origin blog.csdn.net/mumuwang1234/article/details/109577274