Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to jump between BreakPoint in JetBrains PyCharm IDE

I am trying to write a project in PyCharm after a friend recomended me to try it instead of Eclipse. take this code as example:

for x in xrange(1000)
    #do things

#want to get here fast in debug with out iterating the loop step by step

I want to put BP in the loop and after it, and by pressing a button to jump to the second one

well, I know it's a stupid question but I honestly searched for an answer and could not find it..

thanks,

like image 699
asafel Avatar asked Jul 22 '14 05:07

asafel


People also ask

How do you jump to next break point?

Ctrl + F8 (Mac: Cmd + F8) Toggle breakpoint. Ctrl + Shift + F8 (Mac: Cmd + Shift + F8) View breakpoints.

How do you go to the next breakpoint in Python?

After hitting any breakpoint, F8 can be used to continue running until another breakpoint is hit (note that you need to be in the debug perspective for F8 to work -- otherwise, you have to customize your perspective so that the debugger actions are active in a different perspective).

How do you continue after a breakpoint in PyCharm?

Force run to cursor Continues the execution until the position of the caret is reached. All breakpoints on the way are ignored. Place the caret at the line where you want the program to pause. From the main menu, select Run | Debugging Actions | Force Run to Cursor or press Ctrl+Alt+F9 .

How do I move to next break point in Intellij?

You can press F8 to step to the next statement and f9 to step to the next breakpoint. As you step through your application, the corresponding information appears in the debugger window.


2 Answers

When you run in "debug" mode and stop on a breakpoint, simply click the "play" button (marked in the picture below) and it'll continue running until the next breakpoint.

enter image description here

like image 176
Nir Alfasi Avatar answered Oct 08 '22 04:10

Nir Alfasi


For Pycharm 5.0, it's on the left, as marked in the picture below.

Pycharm 5.0

like image 36
Searene Avatar answered Oct 08 '22 04:10

Searene