The pydb
module defines the following functions, and each enters
the debugger in a slightly different way:
[opts-dictionary=None, cmdfile=None]) |
sys.last_traceback
. Note you may need to have sys
imported priort to having the error raised to have sys.last_traceback
set.
To set debugger options, pass a dictionary of variable, value pairs
that you want set in opts-dictionary. For example if you want
the display listsize to be 20 by default on entry pass
{listsize: 20}
.
traceback[opts-dictionary=None, cmdfile=None]) |
To set debugger options, pass a dictionary of variable, value pairs
that you want set in opts-dictionary. For example if you want
the display listsize to be 20 by default on entry pass
@listsize: 20@
.
statement[, globals[, locals]]) |
function[, argument, ...]) |
expression[, globals[, locals]]) |
[cmdfile=None]) |
When the debugger is quitting, this causes the program to be
terminated. If you want the program to continue instead, use the
debugger
function.
See About this document... for information on suggesting changes.