Move Debugger Program Counter

Author: David W. Hughes


This script resets the next line pointer so that subsequent step-over executes the line the caret is on. A "Jmp Line" item is added to the editor context menu, although the jump is relative to caret position and not location of click. The visual indicator of run position is not updated until the step-over is executed.

Note that the python interpreter expects this kind of jump to occur only within the context of the function at the lowest stack frame, so jumps to other positions are disallowed.


DebugMoveProgramCounter (last edited 2010-03-22 17:24:38 by StephanDeibel)

Disclaimer: This wiki is maintained by a community of volunteers. Wingware makes no warranty for the accuracy, fitness for a purpose, or safety of any code or information provided on this site. Please report abuse to support at wingware dot com.