/* * call-seq: * context.frame_args_info(frame_position=0) -> list if track_frame_args or nil otherwise * * Returns info saved about call arguments (if any saved). */ static VALUE context_frame_args_info(int argc, VALUE *argv, VALUE self) { VALUE frame; debug_context_t *debug_context; debug_check_started(); frame = optional_frame_position(argc, argv); Data_Get_Struct(self, debug_context_t, debug_context); return RTEST(track_frame_args) ? GET_FRAME->arg_ary : Qnil; }