Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm debugging - set next statement

Does PyCharm have a "set next statement" capability while debugging, like Visual Studio with PTVS, Eclipse, and Wing IDE?

"set next statement" moves the execution point (forward or back), skipping intermediate statements, and is not the same as any of the run to cursor options.

Visual Studio set next statement

UPDATE: Dec-1-2017 PyCharm 2017.3 Nov-29-2017 now includes this feature. It's described in What's New as "Set Next Statement". On the PyCharm menu, it's "Jump To Cursor". I tested this and it seems to work.

like image 464
GravityWell Avatar asked Jan 12 '15 17:01

GravityWell


1 Answers

It seems Pydev's debugger has this feature (Ctrl+f on the releases page to find "set next statement", release 3.3.3).

Since Pycharm's debugger has been merged with Pydev's (Pydev release 3.7.0), it should technically be available. Yet I couldn't find a single mention of that, neither in Pycharm's doc nor in its issue tracker.

I think it's not available quite yet.

like image 95
Arnaud P Avatar answered Sep 19 '22 16:09

Arnaud P