Class: Debugger::Context::Frame

Inherits:
Object
  • Object
show all
Defined in:
ext/ruby_debug.c

Instance Method Summary collapse

Instance Method Details

#bindingObject



917
918
919
920
921
922
923
924
# File 'ext/ruby_debug.c', line 917

static VALUE
frame_binding(VALUE self)
{
    debug_frame_t *debug_frame;

    Data_Get_Struct(self, debug_frame_t, debug_frame);
    return debug_frame->binding;
}

#fileObject



899
900
901
902
903
904
905
906
# File 'ext/ruby_debug.c', line 899

static VALUE
frame_file(VALUE self)
{
    debug_frame_t *debug_frame;

    Data_Get_Struct(self, debug_frame_t, debug_frame);
    return debug_frame->file;
}

#idObject



926
927
928
929
930
931
932
933
# File 'ext/ruby_debug.c', line 926

static VALUE
frame_id(VALUE self)
{
    debug_frame_t *debug_frame;

    Data_Get_Struct(self, debug_frame_t, debug_frame);
    return debug_frame->id ? ID2SYM(debug_frame->id): Qnil;
}

#lineObject



908
909
910
911
912
913
914
915
# File 'ext/ruby_debug.c', line 908

static VALUE
frame_line(VALUE self)
{
    debug_frame_t *debug_frame;

    Data_Get_Struct(self, debug_frame_t, debug_frame);
    return debug_frame->line;
}