Add module ignoring functionality to debugger#14973
Merged
Merged
Conversation
ktowen
marked this pull request as draft
August 28, 2025 11:37
ktowen
force-pushed
the
debugger-ignore-modules
branch
from
August 28, 2025 12:31
f4c9cdb to
5f599d3
Compare
ktowen
marked this pull request as ready for review
August 28, 2025 12:51
Member
|
I think this closes #1665. The proposal there was to expose |
krassowski
reviewed
Aug 29, 2025
krassowski
left a comment
Member
There was a problem hiding this comment.
Thank you for the PR @ktowen!
This looks mostly fine, the only thing missing is tests. Can you add tests for both ignore_module and unignore_module with and without wildcard usage?
Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
ktowen
force-pushed
the
debugger-ignore-modules
branch
3 times, most recently
from
August 30, 2025 12:52
1b30a21 to
de4bf44
Compare
ktowen
force-pushed
the
debugger-ignore-modules
branch
from
August 30, 2025 14:35
de4bf44 to
21de9fc
Compare
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
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.
This PR adds two new commands to ignore (and unignore) specific modules when navigating frames in the IPython debugger, similar to how the debugger already skips hidden frames. It will work with all the commands that implies moving between frames like
up,down,stepandnext.It is useful when you don't want the debugger to enter third party code.
Closes #1665