You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/birkenfeld'closed_at=<Date2009-05-05.08:54:53.507>created_at=<Date2009-02-03.13:51:47.673>labels= ['type-feature', 'library']
title='pdb feature request: Ability to skip standard lib modules and other selected packages/modules'updated_at=<Date2009-05-05.08:54:53.505>user='https://github.com/orsenthil'
When using the python debugger, most often I step ('s') through the
code base and I often Call the standard library modules, whichever are
imported in the scripts.
This is often not desirable as I know that errors are within my modules
and not in standard library.
Two things which a developer can do while using pdb is:
Be careful as not to 's' into stdlib but use next 'n'.
If accidentally stepped into, then use return 'r'.
Instead of doing this repeatedly, how about having method in the
debugger to skip certain modules ( like standard library modules,
certain package's modules etc)
This would save a lot of distraction in call and returns, and developers
can just go ahead with 's' and Enters.
Added a skip keyword argument to Bdb and Pdb class constructors to allow
skipping of modules based on a list of glob-style matches (see fnmatch),
as per the following example:
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: