1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

show self on control frame dump.

control frame detailed info on RUBY_DEBUG=ci should also show
self information.
This commit is contained in:
Koichi Sasada 2019-12-12 17:02:36 +09:00
parent 55b7ba3686
commit 54e089df9e

View file

@ -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");