Python Library Reference for the Extended Python Debugger
Up:
Python Documentation Index
Next:
Front Matter
Python Library Reference for the Extended Python Debugger
Revised by Rocky Bernstein
Email:
bashdb-pydb@lists.sourceforge.net
Release 2.5pydb
April 10, 2009
Front Matter
Contents
1. The Extended Python Debugger
1.1 Invoking the Debugger
1.1.1 Debugger Command Options (
-trace
,
-output
,
-command
,
-nx
, ...)
1.1.2 Startup files (
.pydbrc
)
1.2 Debugger Commands
1.2.1 Debugger Prompt
1.2.2 Command Parsing
1.2.3 Status and Debugger Settings (
info
,
set
,
show
)
1.2.4 Breakpoints (
break
,
tbreak
,
clear
,
commands
,
delete
,
disable
,
condition
,
ignore
)
1.2.5 Resuming Execution (
step
,
next
,
finish
,
return
,
continue
,
jump
,
skip
)
1.2.6 Examining Call Frames (
info args
,
info locals
,
down
,
frame
,
up
)
1.2.7 Examining Data (
print
,
pprint
,
examine
,
info globals
)
1.2.8 Running Arbitrary Python Commands (
debug
,
!
,
ipython
,
python
)
1.2.9 Starting/Restarting a Python Script (
restart
,
run
)
1.2.10 Interfacing to the OS (
cd
,
pwd
,
shell
)
1.2.11 Listing Program Code (
list
,
disassemble
)
1.2.12 Interfacing to the debugger (
alias
,
complete
,
help
,
quit
,
kill
,
save
,
source
,
unalias
)
1.2.13 Signal handling (
handle
,
info handle
,
signal
)
1.2.14 Thread debugging (
thread
,
info thread
,
qt
,
frame
,
break
)
1.3 The Debugger Module (
pydb
) and Class (
Pdb
)
1.3.1 Calling the Debugger from Inside your Program (
pydb.debugger
)
1.3.2 Calling the Debugger after a Crash: Post-Mortem Debugging (
pydb.post_mortem
,
pydb.pm
,
pydb.exception_hook
)
1.3.3 Entering the Debugger from Outside the Program
1.3.4 Entering the Debugger from Python or a Python Shell
1.3.5 Yet Another Method of Invocation
1.3.6 Inheritance from class
Cmd
1.3.7 Debugger Entry Functions
1.4 The ``Basic'' Debugger module (
bdb
) and Classes
Bdb
and
Breakpoint
1.5 How the Debugger Works
1.6 Files making up the Debugger
1.7 Installation
1.7.1 Installation options
Index
About this document ...
Python Library Reference for the Extended Python Debugger
Up:
Python Documentation Index
Next:
Front Matter
Release 2.5pydb, documentation updated on April 10, 2009.
See
About this document...
for information on suggesting changes.