A,
1, Show Execution Point (Alt + F10): If your cursor in the other rows or other page, click on this button to jump to the current line of code is executed.
2, Step Over (F8): Step through, line by line to go down, if there are ways on this line will not go into methods.
3, Step Into (F7): into the current line if there is a method, access to the interior methods, typically into a custom methods, the method does not enter the official library
4, Force Step Into (Alt + Shift + F7 ): Force entered, you can enter any means, when you can see the underlying source code official use this method to enter the library.
5, Step Out (Shift + F8 ): step out of the exit from the method call to step into the method at this time the method has finished, but not yet completed the assignment.
6, Drop Frame (no default): fallback breakpoints, later chapters detail.
7, Run to Cursor (Alt + F9): Run to Cursor, you can position the cursor to the line that you need to see, and then use this function, the code will run to the cursor line, without the need to interrupt point.
8, Evaluate Expression (Alt + F8 ): calculation expression, described in detail in later chapters.
Two,
1, Resume Program (F9): recovery program, for example, you have two breakpoint at line 20 and line 25, line 20 to the current run, press F9, then run to the next breakpoint (ie 25 line), and then press F9, then run a complete process, since the latter has no breakpoint.
2, View Breakpoints (Ctrl + Shift + F8): View all breakpoints, later chapters will be involved.
3, Mute Breakpoints: Breakpoints after dumb, select this, all breakpoints turn gray, the breakpoint fails, you can press F9 complete run the program directly. Click again to break into the red, and effective. If you want to make a certain breakpoint fails, you can right-Enabled canceled at the breakpoint, the line breakpoint failure.
IDEA's debug button
Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Guess you like
Origin blog.csdn.net/qq_42859864/article/details/102695912
Recommended
Ranking