FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-106670: Set convenience variable for post mortem debugging by gaogaotiantian · Pull Request #110493 · python/cpython · GitHub

/ cpython Public

gh-106670: Set convenience variable for post mortem debugging - #110493

Merged
iritkatriel merged 3 commits into
python:mainfrom
gaogaotiantian:pdb-exception-variable
Oct 9, 2023
Merged

gh-106670: Set convenience variable for post mortem debugging#110493
iritkatriel merged 3 commits into
python:mainfrom
gaogaotiantian:pdb-exception-variable

Conversation

gaogaotiantian commented Oct 7, 2023
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

This is a minor improvement to the newly supported chained exception feature.

We have convenience variable $_exception which stores the exception object when an exception is being raised. We can reuse that when we are in post mortem mode analyzing exceptions.

Copy link
Copy Markdown
Member Author

@iritkatriel , you were the reviewer for the original PR and the PR for convenience variable. Could you take a look at this? This is pretty straightforward.

Comment thread Lib/pdb.py

Copy link
Copy Markdown
Member

Ok, I'll merge when I'm not travelling. Remind me if I forget.

iritkatriel enabled auto-merge (squash) October 9, 2023 07:48
iritkatriel merged commit 9f8282d into python:main Oct 9, 2023
gaogaotiantian deleted the pdb-exception-variable branch October 9, 2023 17:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL