Wing Tips: Moving the Debug Program Counter in Wing IDE Pro
Wing IDE Pro's debugger makes is easier to work interactively with Python. In addition to debugging, it is also a great way to navigate and understand unfamiliar code, and to write new code interactively in the live runtime state for which the code is being designed.
A great little feature in Wing's debugger is the ability to move the program counter back to code you have already executed. This way, if you debug too far you can go back without having to restart your debug process.
This is done by right-clicking on the line where you want to move the program counter and selecting Move Program Counter Here:
That's all there is to it!
Note that due to the way Python is implemented, the program counter can only be moved within the current bottom-most stack frame.
To try this out, download Wing now!
Share this article: