Next: , Previous: Examining the Stack, Up: Debugging


5.21.7 Examining Stack Frames

— Scheme Procedure: frame? obj
— C Function: scm_frame_p (obj)

Return #t if obj is a stack frame.

— Scheme Procedure: frame-number frame
— C Function: scm_frame_number (frame)

Return the frame number of frame.

— Scheme Procedure: frame-previous frame
— C Function: scm_frame_previous (frame)

Return the previous frame of frame, or #f if frame is the first frame in its stack.

— Scheme Procedure: frame-next frame
— C Function: scm_frame_next (frame)

Return the next frame of frame, or #f if frame is the last frame in its stack.

— Scheme Procedure: frame-source frame
— C Function: scm_frame_source (frame)

Return the source of frame.

— Scheme Procedure: frame-procedure? frame
— C Function: scm_frame_procedure_p (frame)

Return #t if a procedure is associated with frame.

— Scheme Procedure: frame-procedure frame
— C Function: scm_frame_procedure (frame)

Return the procedure for frame, or #f if no procedure is associated with frame.

— Scheme Procedure: frame-arguments frame
— C Function: scm_frame_arguments (frame)

Return the arguments of frame.

— Scheme Procedure: frame-evaluating-args? frame
— C Function: scm_frame_evaluating_args_p (frame)

Return #t if frame contains evaluated arguments.

— Scheme Procedure: frame-overflow? frame
— C Function: scm_frame_overflow_p (frame)

Return #t if frame is an overflow frame.

— Scheme Procedure: frame-real? frame
— C Function: scm_frame_real_p (frame)

Return #t if frame is a real frame.

— Scheme Procedure: display-application frame [port [indent]]
— C Function: scm_display_application (frame, port, indent)

Display a procedure application frame to the output port port. indent specifies the indentation of the output.