Log in or register to vote.

dm.pdb

Slightly extended and sanitized Python debugger -- Debugger with Zope support

Dieter Maurer's PDB extension.
==============================

``Pdb``, the Python debugger, has severe limitations (apart from some bugs).
This extension tries to get rid of some of them.

Things done
-----------

* setting breakpoints

Allow *filename* to specify a module as well.

Allow setting breakpoints from outside via ``do_break``.
This is useful for debug setups.

* exception display

The current display of an exception is almost useless.
In the ``Pdb`` code, exceptions are displayed at 4 places --
and each of them uses slightly different code (whow!).

We consolidate this into a single function ``_handle_exception``
and present the exception with ``traceback.format_exception_only``.
We also store the ...

0