File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -49,20 +49,21 @@ di_body(const rb_debug_inspector_t *dc, void *ptr)
4949 long i ;
5050
5151 for (i = 1 ; i < len ; i ++ ) {
52+ VALUE loc , e ;
5253 VALUE iseq = rb_debug_inspector_frame_iseq_get (dc , i );
5354
5455 if (!NIL_P (iseq )) {
5556 VALUE path = iseq_realpath (iseq );
5657 if (!NIL_P (path ) && str_start_with (path , skip_path_prefix )) continue ;
5758 }
5859
59- VALUE loc = RARRAY_AREF (locs , i );
60- VALUE e = di_entry (loc ,
61- rb_debug_inspector_frame_self_get (dc , i ),
62- rb_debug_inspector_frame_binding_get (dc , i ),
63- iseq ,
64- rb_debug_inspector_frame_class_get (dc , i ),
65- INT2FIX (len - i ));
60+ loc = RARRAY_AREF (locs , i );
61+ e = di_entry (loc ,
62+ rb_debug_inspector_frame_self_get (dc , i ),
63+ rb_debug_inspector_frame_binding_get (dc , i ),
64+ iseq ,
65+ rb_debug_inspector_frame_class_get (dc , i ),
66+ INT2FIX (len - i ));
6667 rb_ary_push (ary , e );
6768 }
6869
You can’t perform that action at this time.
0 commit comments