We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b8d705 commit d77b090Copy full SHA for d77b090
1 file changed
vm_trace.c
@@ -1020,6 +1020,10 @@ rb_tracearg_return_value(rb_trace_arg_t *trace_arg)
1020
if (trace_arg->event & (RUBY_EVENT_RETURN | RUBY_EVENT_C_RETURN | RUBY_EVENT_B_RETURN)) {
1021
/* ok */
1022
}
1023
+ else if (trace_arg->event == RUBY_EVENT_IVAR_SET) {
1024
+ VALUE pair = trace_arg->data;
1025
+ return RARRAY_AREF(pair, 1);
1026
+ }
1027
else {
1028
rb_raise(rb_eRuntimeError, "not supported by this event");
1029
0 commit comments