Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot restart program after post-mortem #74

Open
dexter2206 opened this issue Nov 20, 2024 · 0 comments
Open

Cannot restart program after post-mortem #74

dexter2206 opened this issue Nov 20, 2024 · 0 comments

Comments

@dexter2206
Copy link

It seems to be impossible to restart the program after the post-mortem debugging. In original pdb, one can restart the execution by running restart (or run or any stepping command afaik). Performing the same action causes pdb+ to quit if run in post-mortem.

Steps to reproduce:

  1. Create a short program that raises an exception, e.g. the following test.py:
def foo():
    raise ValueError()

foo()
  1. Run python -m pdbp test.py
  2. Allow the execution to continue by running continue. The debugger will stop at the line with raise statement.
  3. Run restart. The pdbp session will terminate.

Expected outcome:
Program restarts as with original pdb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant