0

Let's assume we have this python script, set breakpoint on second line and start debugging:

print(1)
print(2)  # set breakpoint here
print(3)
print(4)
print(5)

Debugger stops here:
enter image description here

Now delete the first line, the editor looks like this:
enter image description here

And press your key for "Step Over". The highlighted line now should be print(3), but instead the highlighting jumps to third line (print(4)):
enter image description here

After stepping over the current line, the number "3" is printed (which is correct) and not highlighted "4".
Can we somehow fix the highlighted line when adding/removing (lines during debugging) before currently executed line?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.