pycharm shortcut
| Overview | Shortcut | Description |
|---|---|---|
| Run | Shift + F10 | Run the program. |
| Select a setting and execute | Shift + Alt + F10 | Run/Quickly select a debug configuration to run or edit. |
| Re-execute | Ctrl + F5 | Repeat the run with the same settings and focus on the same tab in the Run Tool window. |
| Rerun without losing focus in the editor | Shift + F10 | Focus on the same tab in the editor and run repeatedly with the same settings. |
| debug | Shift + F9 | Debug the program. |
| Settings and debug choices | Shift + Alt + F9 | Run/Quickly select a debug configuration to debug or edit. |
| Step over | F8 | Moves to the next line in the current file. |
| Step in | F7 | Step to the next executed line. |
| Smart step information | Shift + F7 | If the current line contains multiple method invocation expressions, select the method you want to step in. |
| Step out | Shift + F8 | After returning from the current method, step to the first executed line. |
| Forced step over | Shift + Alt + F8 | Executes this method or the next line of the file, skips the method referenced at the current execution point, and ignores the breakpoint. |
| Forced step-in | Shift + Alt + F7 | Even if you skip this method, it is a step to the method called at the current execution point. |
| Execute to the cursor position | Alt + F9 | Executes up to the line where the caret is located. |
| Forcibly execute to the cursor position | Ctrl + Alt + F9 | Ignore breakpoints and run to the line where the caret is located. |
| Program restart | F9 | Program execution resumes. |
| Stop the program | Shift + F2 | End the debug session. |
| Evaluation of the formula | Alt + F8 | Evaluate any expression. |
| Quick evaluation of expressions | Ctrl + Alt + F8 | Evaluate any expression without calling the expression evaluation dialog. |
| Switching breakpoints | Ctrl + F8 | Toggle breakpoints on the current line. |
| Show breakpoints | Ctrl + Shift + F8 | Show all breakpoints/Manage. |