Issue 5142: pdb feature request: Ability to skip standard lib modules and other selected packages/modules (original) (raw)

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:

  1. Be careful as not to 's' into stdlib but use next 'n'.
  2. 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.