Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.3k
gh-131591: Allow pdb to attach to a running process#132451
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
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
40 commits Select commitHold shift + click to select a range
5225333
Allow pdb to attach to a running process
godlygeek78a3085
Remove 2 unused _RemotePdb instance attributes
godlygeek90e0a81
Reduce duplication for 'debug' command
godlygeeke44a670
End commands entry on 'end' and ^C and ^D
godlygeeke837246
Set the frame for remote pdb to stop in explicitly
godlygeek27efa97
Fix an unbound local in an error message
godlygeek557a725
Clean up remote PDB detaching
godlygeek7f7584a
Allow ctrl-c to interrupt a running process
godlygeek5666ffb
Automatically detach if the client dies unexpectedly
godlygeek325f166
Clear _last_pdb_instance on detach
godlygeek72830e2
Refuse to attach if another PDB instance is installed
godlygeek27c6780
Handle the confirmation prompt issued by 'clear'
godlygeekbaaf28a
Make message and error handle non-string args
godlygeeke61cc31
Add some basic tests
pablogsal5d59ce1
Don't use deprecated method
pablogsal09adb2b
Try to prevent a PermissionError on Windows
godlygeek600aa05
Address review comments
godlygeek0601f10
Add protocol versioning and support -c commands
godlygeek5a1755b
Fix tests to match new _connect signature for protocol versioning/com…
godlygeekf184e4e
Add some comments describing our protocol
godlygeek82b71f8
Use the 'commands' state for '(com)' prompts
godlygeek3986c17
Remove choices parameter from _prompt_for_confirmation
godlygeek2e69667
Rename _RemotePdb to _PdbServer
godlygeek55adbcc
Avoid fallthrough in signal handling
godlygeek0bda5c2
Fix handling of a SystemExit raised in normal pdb mode
godlygeek5e93247
Address nit
godlygeekf799e83
Use textwrap.dedent for test readability
godlygeek46fb219
Drop dataclasses dependency
godlygeek1ec9475
Combine the two blocks for handling -p PID into one
godlygeek662c7eb
Add a news entry
godlygeekac36d7d
Skip remote PDB integration test on WASI
godlygeekf06d9c2
Two small things missed in the previous fixes
godlygeek715af27
Remove call to set_step in interrupt handler
godlygeekc654fdf
More tests
pablogsal205bc55
More tests
pablogsalbbe784b
More tests
pablogsal30cb537
Add what's new entry
pablogsal659556f
use dedent
pablogsal6c2d970
Add synchronization to test_keyboard_interrupt
godlygeek100be44
Stop sending a "signal" message in test_keyboard_interrupt"
godlygeekFile 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
NextNext commit
Allow pdb to attach to a running process
Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit52253335fbfae9a42a7ffe8f1cee30a172b81433
There are no files selected for viewing
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.