Pydb – Features
pydb is an expanded version of the Python debugger loosely
based on the gdb command
set. It also has all of the features found in an earlier version
of pydb.py that was distributed with the debugger
GUI ddd.
Some (but by no means all) of the features and changes from pdb.py:
- thread debugging.
- signal handling (similar to gdb's). You can even set up to send
the debugger a signal and have it show where it's currently at or enter the
debugger at that point.
- non-interactive POSIX-shell like line and function tracing.
- ipython support
- ability to flexibly redirect debugger output to a file
(useful for example in cgi's)
- Many gdb commands such as the set/show/info commands
- gdb-like help with subcommand-specific help available on
info, set, or show subcommands;
e.g. help info line works. pydoc help is available too.
- Restart program saving settings (gdb's run) or a pure
exec restart. (The latter reloads the entire debugger and will cause
imports to get reloaded.)
- debugger is installed in binary directory; i.e. one runs
pydb script..." rather than python
pdb.py script...", and search-path resolution performed
on script
- Accepts debugger command options; e.g. redirecting debugger output,
initial debugger script, or batch mode.
- Perl's "examine" command to show info about a symbol. For functions,
methods, classes and modules the documentation string if any is printed.
For functions, we also show the argument list. For objects, instance
variables of the class and object are shown.
- More
extensive and complete documentation.
- Comes with regression tests. Can also be subclassed to capture
debugger output.
- Works with GUI
frontend ddd. Version
3.3.12 or
greater is is required though.
$Id: features.html,v 1.4 2009/03/14 09:42:55 rockyb Exp $