Lines Matching refs:frame

205     stack frame at which to start. The optional 'limit' and 'file'
221 """Extract the raw traceback from the current stack frame.
227 from oldest to newest stack frame.
242 # Ignore the exception raised if the frame is still executing.
248 """Information about a single frame from a traceback.
250 - :attr:`filename` The filename for the frame.
251 - :attr:`lineno` The line within filename for the frame that was
252 active when the frame was captured.
254 when the frame was captured.
256 of code that was running when the frame was captured.
271 :param locals: If supplied the frame locals, which will be captured as
326 """Walk a stack yielding the frame and line number for each frame.
328 This will follow f.f_back from the given frame. If no frame is given, the
339 """Walk a traceback yielding the frame and line number for each frame.
380 :param frame_gen: A generator that yields (frame, lineno) tuples
384 :param lookup_lines: If True, lookup lines for each frame immediately,
385 otherwise lookup is deferred until the frame is rendered.
386 :param capture_locals: If True, the local variables from each frame will
400 # Same as extract but operates on a frame generator that yields
401 # (frame, (lineno, end_lineno, colno, end_colno)) in the stack.
448 # check on a frame by frame basis.
450 for frame in a_list:
451 if isinstance(frame, FrameSummary):
452 result.append(frame)
454 filename, lineno, name, line = frame
461 Returns a string representing one frame involved in the stack. This
462 gets called for every frame to be printed in the stack summary.
492 # show indicators if primary char doesn't span the frame line
517 resulting list corresponds to a single frame from the stack.
521 For long sequences of the same frame and line, the first few
794 for frame in self.stack:
795 frame.line
946 # The closing frame may be added by a recursive call