bdb.set_trace()

bdb.set_trace() Start debugging with a Bdb instance from caller’s frame.

bdb.checkfuncname()

bdb.checkfuncname(b, frame) Check whether we should break here, depending on the way the breakpoint b was set. If it was set via line number, it checks if b.line is the same as the one in the frame also passed as argument. If the breakpoint was set via function name, we have to check we are in the right frame (the right function) and if we are in its first executable line.

bdb.Breakpoint.disable()

disable() Mark the breakpoint as disabled.

bdb.Breakpoint.enable()

enable() Mark the breakpoint as enabled.

bdb.Breakpoint.deleteMe()

deleteMe() Delete the breakpoint from the list associated to a file/line. If it is the last breakpoint in that position, it also deletes the entry for the file/line.

bdb.Breakpoint.bpformat()

bpformat() Return a string with all the information about the breakpoint, nicely formatted: The breakpoint number. If it is temporary or not. Its file,line position. The condition that causes a break. If it must be ignored the next N times. The breakpoint hit count. New in version 3.2.

bdb.BdbQuit

exception bdb.BdbQuit Exception raised by the Bdb class for quitting the debugger.

bdb.Breakpoint.bpprint()

bpprint(out=None) Print the output of bpformat() to the file out, or if it is None, to standard output.

bdb.Breakpoint

class bdb.Breakpoint(self, file, line, temporary=0, cond=None, funcname=None) This class implements temporary breakpoints, ignore counts, disabling and (re-)enabling, and conditionals. Breakpoints are indexed by number through a list called bpbynumber and by (file, line) pairs through 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. When creating a breakpoint, its associated

bdb.Bdb.user_line()

user_line(frame) This method is called from dispatch_line() when either stop_here() or break_here() yields True.