Skip to content

Cannot restart program after post-mortem #74

@dexter2206

Description

@dexter2206

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions