Irit Katriel added the comment:
I recently fixed a bug where breakpoints were not saved properly between reruns
of the program - the assumption there was that if you set a breakpoint you
don't want to have to set it again and again.
Similarly, how do you know that the change to sys.path was
New submission from Andrey Bienkowski :
When the target exits, pdb automatically restarts it. If the target changed
something before exiting the changes will remain unless pdb explicitly undoes
them. While working on #42383 I had an idea: it would be useful if pdb reverted
the changes the tar