frame_self (Debugger::Context)

    /*
     *   call-seq:
     *      context.frame_self(frame_postion=0) -> obj
     *
     *   Returns self object of the frame.
     */
    static VALUE
    context_frame_self(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;
        return debug_frame->self;
    }