-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add module ignoring functionality to debugger #14973
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
Conversation
f4c9cdb to
5f599d3
Compare
|
I think this closes #1665. The proposal there was to expose |
krassowski
left a comment
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.
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>
1b30a21 to
de4bf44
Compare
de4bf44 to
21de9fc
Compare
krassowski
left a comment
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.
Thank you!
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