| |
- 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)
- no doc string
- break_anywhere(self, frame)
- no doc string
- break_here(self, frame)
- no doc string
- clear_all_breaks(self)
- no doc string
- clear_all_file_breaks(self, filename)
- no doc string
- clear_bpbynumber(self, arg)
- no doc string
- clear_break(self, filename, lineno)
- no doc string
- dispatch_call(self, frame, arg)
- no doc string
- dispatch_exception(self, frame, arg)
- no doc string
- dispatch_line(self, frame)
- no doc string
- dispatch_return(self, frame, arg)
- no doc string
- format_stack_entry(self, frame_lineno, lprefix=': ')
- #
- get_all_breaks(self)
- no doc string
- get_break(self, filename, lineno)
- no doc string
- get_breaks(self, filename, lineno)
- no doc string
- get_file_breaks(self, filename)
- no doc string
- get_stack(self, f, t)
- # Derived classes and clients can call the following method
- # to get a data structure representing a stack trace.
- reset(self)
- no doc string
- run(self, cmd, globals=None, locals=None)
- # The following two methods can be called by clients to use
- # a debugger to debug a statement, given as a string.
- runcall(self, func, *args)
- # This method is more useful to debug a single function call.
- runctx(self, cmd, globals, locals)
- no doc string
- runeval(self, expr, globals=None, locals=None)
- no doc string
- set_break(self, filename, lineno, temporary=0, cond=None)
- # Derived classes and clients can call the following methods
- # to manipulate breakpoints. These methods return an
- # error message is something went wrong, None if all is well.
- # Set_break prints out the breakpoint line and file:lineno.
- # Call self.get_*break*() to see the breakpoints or better
- # for bp in Breakpoint.bpbynumber: if bp: bp.bpprint().
- set_continue(self)
- no doc string
- set_next(self, frame)
- no doc string
- set_quit(self)
- no doc string
- set_return(self, frame)
- no doc string
- set_step(self)
- # Derived classes and clients can call the following methods
- # to affect the stepping state.
- set_trace(self)
- no doc string
- stop_here(self, frame)
- # Normally derived classes don't override the following
- # methods, but they may if they want to redefine the
- # definition of stopping and breakpoints.
- trace_dispatch(self, frame, event, arg)
- no doc string
- user_call(self, frame, argument_list)
- # Derived classes should override the user_* methods
- # to gain control.
- user_exception(self, frame, (exc_type, exc_value, exc_traceback))
- no doc string
- user_line(self, frame)
- no doc string
- user_return(self, frame, return_value)
- no doc string
|
|