Lines Matching +full:code +full:- +full:frame
1 :mod:`bdb` --- Debugger framework
7 **Source code:** :source:`Lib/bdb.py`
9 --------------
26 (re-)enabling, and conditionals.
77 The *skip* argument, if given, must be an iterable of glob-style
80 frame is considered to originate in a certain module is determined
81 by the ``__name__`` in the frame globals.
91 case-normalized (on case-insensitive filesystems) absolute path, stripped
99 .. method:: trace_dispatch(frame, event, arg)
104 The default implementation decides how to dispatch a frame, depending on
108 * ``"line"``: A new line of code is going to be executed.
109 * ``"call"``: A function is about to be called, or another code block
111 * ``"return"``: A function or other code block is about to return.
123 trace function. For more information on code and frame objects, refer to
126 .. method:: dispatch_line(frame)
134 .. method:: dispatch_call(frame, arg)
142 .. method:: dispatch_return(frame, arg)
150 .. method:: dispatch_exception(frame, arg)
161 .. method:: stop_here(frame)
163 This method checks if the *frame* is somewhere below :attr:`botframe` in
164 the call stack. :attr:`botframe` is the frame in which debugging started.
166 .. method:: break_here(frame)
169 belonging to *frame* or, at least, in the current function. If the
172 .. method:: break_anywhere(frame)
175 frame.
180 .. method:: user_call(frame, argument_list)
186 .. method:: user_line(frame)
191 .. method:: user_return(frame, return_value)
196 .. method:: user_exception(frame, exc_info)
213 Stop after one line of code.
215 .. method:: set_next(frame)
217 Stop on the next line in or below the given frame.
219 .. method:: set_return(frame)
221 Stop when returning from the given frame.
223 .. method:: set_until(frame)
226 reached or when returning from current frame.
228 .. method:: set_trace([frame])
230 Start debugging from *frame*. If *frame* is not specified, debugging
231 starts from caller's frame.
297 Get a list of records for a frame and all higher (calling) and lower
303 ``(frame, lineno)`` tuple:
305 * The canonical form of the filename which contains the frame.
309 * The line of code (if it exists).
336 .. function:: checkfuncname(b, frame)
342 in the frame also passed as argument. If the breakpoint was set via function
343 name, we have to check we are in the right frame (the right function) and if
346 .. function:: effective(file, line, frame)
348 Determine if there is an effective (active) breakpoint at this line of code.
355 Start debugging with a :class:`Bdb` instance from caller's frame.