Running and Debugging
Function | Shortcut | Use this shortcut to... |
---|---|---|
Run | Shift+F10 | Run a program. |
Choose configuration and run | Shift+Alt+F10 | Quickly select run/debug configuration and run or edit it. |
Rerun | Ctrl+F5 | Repeat execution with the same settings, with the same tab of the Run tool window having the focus. |
Rerun without loosing focus in the editor | Shift+F10 | Repeat execution with the same settings, with the same tab of the editor having the focus. |
Debug | Shift+F9 | Debug a program. |
Choose configuration and debug | Shift+Alt+F9 | Quickly select run/debug configuration and debug or edit it. |
Show Execution Point | Alt+F10 | Click this button to highlight the current execution point in the editor and show the corresponding stack frame in the Frames pane. |
Step Over | F8 | Step to the next line in the current file See Step over . |
Step Into | F7 | Step to the next executed line See Step into . |
Smart Step Into | Shift+F7 | Select the method to step in, if the current line contains multiple method call expressions. See Choosing a Method to Step Into. |
Step Out | Shift+F8 | Step to a first executed line after returning from the current method See Step out . |
Force Step Over | Shift+Alt+F8 | Run until the next line in this method or file, skipping the methods referenced at the current execution point and ignoring breakpoints See Force step over . |
Step Into My Code | Shift+Alt+F8 | . |
Force Step Into | Shift+Alt+F7 | Steps into the method called in the current execution point even if this method is to be skipped See Force step into . |
Run to Cursor | Alt+F9 | Run to the line where the caret is located See Run to cursor . |
Force Run To Cursor | Ctrl+Alt+F9 | Run to the line where the caret is located, ignoring breakpoints See Force run to cursor . |
Resume Program | F9 | Resume program execution. |
Pause Program | Ctrl+Pause | Click this button to pause program execution. |
Stop Program | Shift+F2 | Terminate a debugging session. |
Evaluate Expression | Alt+F8 | Evaluate an arbitrary expression. |
Quick Evaluate Expression | Ctrl+Alt+F8 | Evaluate an arbitrary expression without calling the Evaluate Expression dialog. |
Toggle breakpoint at the current line. | Ctrl+F8 | You can temporarily mute all the breakpoints in a project to execute the program without stopping at breakpoints. |
View Breakpoints | Ctrl+Shift+F8 | View/manage all breakpoints. |