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,
Ctrl + F8 (Mac: Cmd + F8) Toggle breakpoint. Ctrl + Shift + F8 (Mac: Cmd + Shift + F8) View breakpoints.
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).
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 .
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.
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.
For Pycharm 5.0, it's on the left, as marked in the picture below.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With