[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules
Georg Brandl ge...@python.org added the comment: Applied the patch, added documentation and committed it as r72322. Thanks! -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules
Changes by Georg Brandl ge...@python.org: -- assignee: - georg.brandl nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules
Maru Newby mne...@thesprawl.net added the comment: 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: import pdb;Pdb(skip=['django.command*']).set_trace() -- keywords: +patch nosy: +maru Added file: http://bugs.python.org/file13587/pdb_skip_modules.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules
New submission from Senthil orsent...@gmail.com: 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. -- messages: 81058 nosy: orsenthil severity: normal status: open title: pdb feature request: Ability to skip standard lib modules and other selected packages/modules type: feature request versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules
Changes by Senthil orsent...@gmail.com: -- components: +Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com