inducer / inducer/pudb

Catch exceptions in continue mode

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

Sorry if there is already a way to do this, I didn't see it. If you are stepping through the debugger and an exception is thrown, you the debugger catches it, and you can analyze it. But if the debugger is just running (i.e., you pressed `c` to continue), exceptions are not caught, but rather the whole thing exits with a traceback. It would be nice if these exceptions were also caught.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the debugger's continue path after pressing `c`, then compare it with the stepping path that catches exceptions. Use the project's pytest suite to reproduce an exception in continue mode; done means the exception is caught for analysis instead of terminating with a traceback.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.