frame_args (Debugger::Context)

    /*
     *   call-seq:
     *      context.frame_args(frame_position=0) -> list
     *
     *   Returns frame's argument parameters
     */
    static VALUE
    context_frame_args(int argc, VALUE *argv, VALUE self)
    {
        VALUE frame;
        debug_context_t *debug_context;
        debug_frame_t *debug_frame;

        debug_check_started();
        frame = optional_frame_position(argc, argv);
        Data_Get_Struct(self, debug_context_t, debug_context);

        debug_frame = GET_FRAME;
        if(debug_frame->dead)
            return debug_frame->info.copy.args;
        else
            return context_copy_args(debug_frame);
    }