-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-58956: Set f_trace on frames with breakpoints after setting a new breakpoint #124454
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
gh-58956: Set f_trace on frames with breakpoints after setting a new breakpoint #124454
Conversation
gaogaotiantian
commented
Sep 24, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Pdb does not stop at a breakpoint #58956
@@ -0,0 +1 @@ | |||
Setting a :mod:`pdb` breakpoint on a function that's already in the call stack will enable the trace function on that frame so the breakpoint would trigger. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can probably be reworded to make it clearer what the change is (e.g., "Fix bug where..."). They way it's written it's not immediately clear what the old vs new behaviour is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this ^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, missed that. Do you think the current news is better?
Misc/NEWS.d/next/Library/2024-09-24-18-16-59.gh-issue-58956.0wFrBR.rst
Outdated
Show resolved
Hide resolved
…FrBR.rst Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Thanks @gaogaotiantian for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…a new breakpoint (pythonGH-124454) (cherry picked from commit 12eaadc) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
…a new breakpoint (pythonGH-124454) (cherry picked from commit 12eaadc) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
GH-125548 is a backport of this pull request to the 3.13 branch. |
GH-125549 is a backport of this pull request to the 3.12 branch. |
…a new breakpoint (pythonGH-124454) (cherry picked from commit 12eaadc) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>