From 54e089df9e37d438687effd092feda2442116c62 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Thu, 12 Dec 2019 17:02:36 +0900 Subject: show self on control frame dump. control frame detailed info on RUBY_DEBUG=ci should also show self information. --- vm_dump.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vm_dump.c') diff --git a/vm_dump.c b/vm_dump.c index a8d9af5a82..9ada7a959f 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -172,6 +172,8 @@ control_frame_dump(const rb_execution_context_t *ec, const rb_control_frame_t *c } } + fprintf(stderr, " self: %s\n", rb_raw_obj_info(buff, 0x100, cfp->self)); + if (iseq) { if (iseq->body->local_table_size > 0) { fprintf(stderr, " lvars:\n"); -- cgit v1.2.3