diff options
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c index b46437038c..529cb720df 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -750,7 +750,7 @@ fill_path_and_lineno(rb_trace_arg_t *trace_arg) rb_control_frame_t *cfp = rb_vm_get_ruby_level_next_cfp(trace_arg->th, trace_arg->cfp); if (cfp) { - trace_arg->path = cfp->iseq->location.path; + trace_arg->path = cfp->iseq->body->location.path; trace_arg->lineno = rb_vm_get_sourceline(cfp); } else { |