bdb.Bdb.get_bpbynumber()

get_bpbynumber(arg) Return a breakpoint specified by the given number. If arg is a string, it will be converted to a number. If arg is a non-numeric string, if the given breakpoint never existed or has been deleted, a ValueError is raised. New in version 3.2.

bdb.Bdb.get_all_breaks()

get_all_breaks() Return all breakpoints that are set.

bdb.Bdb.get_break()

get_break(filename, lineno) Check if there is a breakpoint for lineno of filename.

bdb.Bdb.do_clear()

do_clear(arg) Handle how a breakpoint must be removed when it is a temporary one. This method must be implemented by derived classes.

bdb.Bdb.format_stack_entry()

format_stack_entry(frame_lineno, lprefix=': ') Return a string with information about a stack entry, identified by a (frame, lineno) tuple: The canonical form of the filename which contains the frame. The function name, or "<lambda>". The input arguments. The return value. The line of code (if it exists).

bdb.Bdb.dispatch_return()

dispatch_return(frame, arg) If the debugger should stop on this function return, invoke the user_return() method (which should be overridden in subclasses). Raise a BdbQuit exception if the Bdb.quitting flag is set (which can be set from user_return()). Return a reference to the trace_dispatch() method for further tracing in that scope.

bdb.Bdb.get_breaks()

get_breaks(filename, lineno) Return all breakpoints for lineno in filename, or an empty list if none are set.

bdb.Bdb.dispatch_exception()

dispatch_exception(frame, arg) If the debugger should stop at this exception, invokes the user_exception() method (which should be overridden in subclasses). Raise a BdbQuit exception if the Bdb.quitting flag is set (which can be set from user_exception()). Return a reference to the trace_dispatch() method for further tracing in that scope.

bdb.Bdb.clear_bpbynumber()

clear_bpbynumber(arg) Delete the breakpoint which has the index arg in the Breakpoint.bpbynumber. If arg is not numeric or out of range, return an error message.

bdb.Bdb.clear_all_breaks()

clear_all_breaks() Delete all existing breakpoints.