pdb
index
/usr/lib/python1.6/pdb.py

A Python debugger.

 
Modules
            
bdb
cmd
linecache
os
re
repr
string
sys

 
Classes
            
bdb.Bdb
Pdb(bdb.Bdb, cmd.Cmd)
cmd.Cmd
Pdb(bdb.Bdb, cmd.Cmd)

 
class Pdb(bdb.Bdb, cmd.Cmd)
       
  
__init__(self)
break_anywhere(self, frame) from bdb.Bdb
break_here(self, frame) from bdb.Bdb
canonic(self, filename) from bdb.Bdb
checkline(self, filename, lineno)
Return line number of first line at or after input
argument such that if the input points to a 'def', the
returned line number is the first
non-blank/non-comment line to follow.  If the input
points to a blank or comment line, return 0.  At end
of file, also return 0.
clear_all_breaks(self) from bdb.Bdb
clear_all_file_breaks(self, filename) from bdb.Bdb
clear_bpbynumber(self, arg) from bdb.Bdb
clear_break(self, filename, lineno) from bdb.Bdb
cmdloop(self, intro=None) from cmd.Cmd
default(self, line)
defaultFile(self)
Produce a reasonable default.
dispatch_call(self, frame, arg) from bdb.Bdb
dispatch_exception(self, frame, arg) from bdb.Bdb
dispatch_line(self, frame) from bdb.Bdb
dispatch_return(self, frame, arg) from bdb.Bdb
do_EOF(self, arg)
do_a = do_args(self, arg)
do_alias(self, arg)
do_args(self, arg)
do_b = do_break(self, arg, temporary=0)
do_break(self, arg, temporary=0)
do_c = do_continue(self, arg)
do_cl = do_clear(self, arg)
do_clear(self, arg)
Three possibilities, tried in this order:
clear -> clear all breaks, ask for confirmation
clear /get.cgi/lineno -> clear all breaks at file:lineno
clear bpno bpno ... -> clear breakpoints by number
do_condition(self, arg)
do_cont = do_continue(self, arg)
do_continue(self, arg)
do_d = do_down(self, arg)
do_disable(self, arg)
do_down(self, arg)
do_enable(self, arg)
do_h = do_help(self, arg) from cmd.Cmd
do_help(self, arg) from cmd.Cmd
do_ignore(self, arg)
arg is bp number followed by ignore count.
do_l = do_list(self, arg)
do_list(self, arg)
do_n = do_next(self, arg)
do_next(self, arg)
do_p(self, arg)
do_q = do_quit(self, arg)
do_quit(self, arg)
do_r = do_return(self, arg)
do_return(self, arg)
do_retval(self, arg)
do_rv = do_retval(self, arg)
do_s = do_step(self, arg)
do_step(self, arg)
do_tbreak(self, arg)
do_u = do_up(self, arg)
do_unalias(self, arg)
do_up(self, arg)
do_w = do_where(self, arg)
do_whatis(self, arg)
do_where(self, arg)
emptyline(self) from cmd.Cmd
execRcLines(self)
# Can be executed earlier than 'setup' if desired
forget(self)
format_stack_entry(self, frame_lineno, lprefix=': ') from bdb.Bdb
get_all_breaks(self) from bdb.Bdb
get_break(self, filename, lineno) from bdb.Bdb
get_breaks(self, filename, lineno) from bdb.Bdb
get_file_breaks(self, filename) from bdb.Bdb
get_stack(self, f, t) from bdb.Bdb
help_EOF(self)
help_a(self)
help_alias(self)
help_args(self)
help_b(self)
help_break(self)
help_c(self)
help_cl(self)
help_clear(self)
help_condition(self)
help_cont(self)
help_continue(self)
help_d(self)
help_disable(self)
help_down(self)
help_enable(self)
help_exec(self)
help_h(self)
help_help(self)
help_ignore(self)
help_l(self)
help_list(self)
help_n(self)
help_next(self)
help_p(self)
help_pdb(self)
help_q(self)
help_quit(self)
help_r(self)
help_return(self)
help_s(self)
help_step(self)
help_tbreak(self)
help_u(self)
help_unalias(self)
help_up(self)
help_w(self)
help_whatis(self)
help_where(self)
interaction(self, frame, traceback)
lineinfo(self, identifier)
lookupmodule(self, filename)
Helper function for break/clear parsing -- may be overridden.
onecmd(self, line) from cmd.Cmd
postcmd(self, stop, line) from cmd.Cmd
postloop(self) from cmd.Cmd
precmd(self, line)
Handle alias expansion and ';;' separator.
preloop(self) from cmd.Cmd
print_stack_entry(self, frame_lineno, prompt_prefix='\012-> ')
print_stack_trace(self)
print_topics(self, header, cmds, cmdlen, maxcol) from cmd.Cmd
reset(self)
run(self, cmd, globals=None, locals=None) from bdb.Bdb
runcall(self, func, *args) from bdb.Bdb
runctx(self, cmd, globals, locals) from bdb.Bdb
runeval(self, expr, globals=None, locals=None) from bdb.Bdb
set_break(self, filename, lineno, temporary=0, cond=None) from bdb.Bdb
set_continue(self) from bdb.Bdb
set_next(self, frame) from bdb.Bdb
set_quit(self) from bdb.Bdb
set_return(self, frame) from bdb.Bdb
set_step(self) from bdb.Bdb
set_trace(self) from bdb.Bdb
setup(self, f, t)
stop_here(self, frame) from bdb.Bdb
trace_dispatch(self, frame, event, arg) from bdb.Bdb
user_call(self, frame, argument_list) from bdb.Bdb
user_exception(self, frame, (exc_type, exc_value, exc_traceback))
This function is called if an exception occurs,
but only if we are to stop at or just below this level.
user_line(self, frame)
This function is called when we stop or break at this line.
user_return(self, frame, return_value)
This function is called when a return trap is set here.

 
Functions
            
find_function(funcname, filename)
help()
# print help
pm()
post_mortem(t)
run(statement, globals=None, locals=None)
runcall(*args)
runctx(statement, globals, locals)
runeval(expression, globals=None, locals=None)
set_trace()
test()

 
Data
             TESTCMD = 'import x; x.main()'
__file__ = '/usr/lib/python1.6/pdb.pyc'
__name__ = 'pdb'
line_prefix = '\012-> '
mainmodule = ''
mainpyfile = ''