bdb.Bdb.user_line()

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

bdb.Bdb.user_exception()

user_exception(frame, exc_info) This method is called from dispatch_exception() when stop_here() yields True.

bdb.Bdb.user_call()

user_call(frame, argument_list) This method is called from dispatch_call() when there is the possibility that a break might be necessary anywhere inside the called function.

bdb.Bdb.trace_dispatch()

trace_dispatch(frame, event, arg) This function is installed as the trace function of debugged frames. Its return value is the new trace function (in most cases, that is, itself). The default implementation decides how to dispatch a frame, depending on the type of event (passed as a string) that is about to be executed. event can be one of the following: "line": A new line of code is going to be executed. "call": A function is about to be called, or another code block entered. "return": A

bdb.Bdb.stop_here()

stop_here(frame) This method checks if the frame is somewhere below botframe in the call stack. botframe is the frame in which debugging started.

bdb.Bdb.set_until()

set_until(frame) Stop when the line with the line no greater than the current one is reached or when returning from current frame.

bdb.Bdb.set_trace()

set_trace([frame]) Start debugging from frame. If frame is not specified, debugging starts from caller’s frame.

bdb.Bdb.set_step()

set_step() Stop after one line of code.

bdb.Bdb.set_return()

set_return(frame) Stop when returning from the given frame.

bdb.Bdb.set_quit()

set_quit() Set the quitting attribute to True. This raises BdbQuit in the next call to one of the dispatch_*() methods.