Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-121468: Support async breakpoint in pdb#132576
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
gaogaotiantian merged 13 commits intopython:mainfromgaogaotiantian:support-async-breakpointApr 29, 2025
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
13 commits Select commitHold shift + click to select a range
1b77cdb Add set_trace_async for async support
gaogaotiantian285efe2 Merge branch 'main' into support-async-breakpoint
gaogaotiantian677c952 Update docs
gaogaotiantian15290d5 📜🤖 Added by blurb_it.
blurb-it[bot]a3401e9 reorder the if checks
gaogaotiantian50c3c9c Add breakpoint tests
gaogaotiantiana6c580d Merge branch 'main' into support-async-breakpoint
gaogaotiantian090715b Update test
gaogaotiantianebdc161 Add whatsnew entry
gaogaotiantian109d8b1 Restructure default function
gaogaotiantiane953532 Add context var tests
gaogaotiantian968472d Merge branch 'main' into support-async-breakpoint
gaogaotiantianff09ab2 Add an extra check for get_var()
gaogaotiantianFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
PrevPrevious commit
Add an extra check for get_var()
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitff09ab25edf086912c9fbe603e536cacbd3ba448
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -2285,6 +2285,7 @@ def test_pdb_await_contextvar(): | ||
| ... 'p var.get()', | ||
| ... 'print(await set_var(99))', | ||
| ... 'p var.get()', | ||
| ... 'print(await get_var())', | ||
| ... 'continue', | ||
| ... ]): | ||
| ... test_function() | ||
| @@ -2308,6 +2309,10 @@ def test_pdb_await_contextvar(): | ||
| -> await pdb.Pdb(nosigint=True, readrc=False).set_trace_async() | ||
| (Pdb) p var.get() | ||
kumaraditya303 marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| 99 | ||
| (Pdb) print(await get_var()) | ||
| 99 | ||
| > <doctest test.test_pdb.test_pdb_await_contextvar[5]>(4)main() | ||
| -> await pdb.Pdb(nosigint=True, readrc=False).set_trace_async() | ||
| (Pdb) continue | ||
| """ | ||
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.