Inconsistent current line indication if the script is edited after entering pdb
#112952
Labels
type-bug
An unexpected behavior, bug, or error
8000
pdb
#112952
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
for-loop.py
run
python for-loop.py
, entering the pdb interfaceinsert a line to
for-loop.py
afterbreakpoint()
run
c
in pdb and the inserted line will be shown as current line indicated by->
, but the actual current line to be executed isprint(i)
.run
c
again. Theprint(i)
, instead of the inserted line, will be executed.CPython versions tested on:
3.12
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: