diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-12-12 17:02:36 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-12-12 17:03:47 +0900 |
commit | 54e089df9e37d438687effd092feda2442116c62 (patch) | |
tree | 5d474164b4fafab5d029ea1c446d36ae078fd644 /vm_dump.c | |
parent | 55b7ba368696033f2e89b77cbcd4a05dec97b139 (diff) | |
download | ruby-54e089df9e37d438687effd092feda2442116c62.tar.gz |
show self on control frame dump.
control frame detailed info on RUBY_DEBUG=ci should also show
self information.
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); |