Staging: this is not the live site, pydocs.org.
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.
The optional skip argument must be an iterable of glob-style
module name patterns. The debugger will not step into frames
that originate in a module that matches one of these patterns.
Whether a frame is considered to originate in a certain module
is determined by the __name__ in the frame globals. Changed in 3.1, 3.14 3.1: Added the skip parameter.3.14: Added the backend parameter.Members of Bdb b break_here Return True if there is an effective breakpoint for this line. c canonic Return canonical form of filename. d dispatch_call Invoke user function and return trace function for call event. dispatch_line Invoke user function and return trace function for line event. dispatch_return Invoke user function and return trace function for return event. g get_bpbynumber Return a breakpoint by its index in Breakpoint.bybpnumber. get_break Return True if there is a breakpoint for filename:lineno. get_breaks Return all breakpoints for filename:lineno. get_stack Return a list of (frame, lineno) in a stack trace and a size. r reset Set values of attributes as ready to start debugging. run Debug a statement executed via the exec() function. runcall Debug a single function call. runctx For backwards-compatibility. runeval Debug an expression executed via the eval() function. s set_break Set a new breakpoint for filename:lineno. set_next Stop on the next line in or below the given frame. set_return Stop when returning from the given frame. set_until Stop when the line with the lineno greater than the current one is reached or when returning from current frame. stop_here Return True if frame is below the starting frame in the stack. t trace_dispatch Dispatch a trace function for debugged frames based on the event. u user_call Called if we might stop in a function. user_line Called when we stop or break at a line.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF