8000 gh-121450: Make inline breakpoints use the most recent pdb instance by gaogaotiantian · Pull Request #121451 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-121450: Make inline breakpoints use the most recent pdb instance #121451

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

Merged
merged 9 commits into from
Jul 11, 2024
Merged
Prev Previous commit
Next Next commit
Fix lint
  • Loading branch information
gaogaotiantian authored Jul 10, 2024
commit b15c3b2f29e28ac3b4262b6f1cce00bde58c30db
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Hard-coded breakpoints (:func:`breakpoint` and :func:`pdb.set_trace()`) now
reuse the most recent ``Pdb`` instance that calls :func:`Pdb.set_trace()`,
reuse the most recent ``Pdb`` instance that calls ``Pdb.set_trace()``,
instead of creating a new one each time. As a result, all the instance specific
data like ``display`` and ``commands`` are preserved across Hard-coded breakpoints.
Loading
0