bdb
index
/usr/lib/python1.5/bdb.py
 

# Debugger basics

   
Modules
                        
sys
types

   
Classes
                        
Bdb
Tdb
Breakpoint

   
class Bdb
            Generic Python debugger base class.
 
This class takes care of details of the trace facility;
a derived class should implement user interaction.
The standard debugger class (pdb.Pdb) is an example.
              
__init__(self)
break_anywhere(self, frame)
break_here(self, frame)
clear_all_breaks(self)
clear_all_file_breaks(self, filename)
clear_bpbynumber(self, arg)
clear_break(self, filename, lineno)
dispatch_call(self, frame, arg)
dispatch_exception(self, frame, arg)
dispatch_line(self, frame)
dispatch_return(self, frame, arg)
format_stack_entry(self, frame_lineno, lprefix=': ')
get_all_breaks(self)
get_break(self, filename, lineno)
get_breaks(self, filename, lineno)
get_file_breaks(self, filename)
get_stack(self, f, t)
reset(self)
run(self, cmd, globals=None, locals=None)
runcall(self, func, *args)
runctx(self, cmd, globals, locals)
runeval(self, expr, globals=None, locals=None)
set_break(self, filename, lineno, temporary=0, cond=None)
set_continue(self)
set_next(self, frame)
set_quit(self)
set_return(self, frame)
set_step(self)
set_trace(self)
stop_here(self, frame)
trace_dispatch(self, frame, event, arg)
user_call(self, frame, argument_list)
user_exception(self, frame, (exc_type, exc_value, exc_traceback))
user_line(self, frame)
user_return(self, frame, return_value)

   
class Breakpoint
            Breakpoint class
 
Implements temporary breakpoints, ignore counts, disabling and
(re)-enabling, and conditionals.
 
Breakpoints are indexed by number through bpbynumber and by
the file,line tuple using bplist.  The former points to a
single instance of class Breakpoint.  The latter points to a
list of such instances since there may be more than one
breakpoint per line.
              
__init__(self, file, line, temporary=0, cond=None)
bpprint(self)
deleteMe(self)
disable(self)
enable(self)

   
class Tdb(Bdb)
              
user_call(self, frame, args)
user_exception(self, frame, exc_stuff)
user_line(self, frame)
user_return(self, frame, retval)

   
Constants
                        
BdbQuit = 'bdb.BdbQuit'