bdb.effective()

bdb.effective(file, line, frame) Determine if there is an effective (active) breakpoint at this line of code. Return a tuple of the breakpoint and a boolean that indicates if it is ok to delete a temporary breakpoint. Return (None, None) if there is no matching breakpoint.

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.enable()

enable() Mark the breakpoint as enabled.

bdb.Breakpoint.disable()

disable() Mark the breakpoint as disabled.

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.bpprint()

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

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.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.BdbQuit

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

bdb.Bdb.user_return()

user_return(frame, return_value) This method is called from dispatch_return() when stop_here() yields True.