Bug report
Bug description:
According to the documentation:
With no bpnumber argument, commands refers to the last breakpoint set.
I think the intended meaning should be the last available breakpoint. However, when using the commands command without specifying a breakpoint number, if the most recently created breakpoint has been deleted, the current behavior throws an error stating "Breakpoint N already deleted".
main.py:
➜ ./python-mpdbmain.py>/cpython/main.py(2)<module>()
->foo=1
(Pdb) b3Breakpoint1at/cpython/main.py:3
(Pdb) b2Breakpoint2at/cpython/main.py:2
(Pdb) clear2Deletedbreakpoint2at/cpython/main.py:2
(Pdb) commands# should set command on breakpoint 1***cannotsetcommands: Breakpoint2alreadydeleted
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Bug report
Bug description:
According to the documentation:
I think the intended meaning should be the last available breakpoint. However, when using the
commandscommand without specifying a breakpoint number, if the most recently created breakpoint has been deleted, the current behavior throws an error stating "Breakpoint N already deleted".main.py:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
_LOAD_ATTR_WITH_HINT#143062