Jumping to Cursor
If one would like to re-debug starting from a particular line, even if this line is located "up-stream", PyCharm provides such a possibility. Thus one will avoid the necessity to finalize debugging prior to re-debug.
The debugger session must be started! Read the Starting the Debugger Session section for details.
Debugging a specific line of code
Provided that the debugger session is launched, place the caret at the statement you would like to repeat, and do one of the following:
- On the editor's context menu choose .
- On the main menu, choose .
The debugger session will resume at the line you've placed the caret at.