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:
parent
55b7ba3686
commit
54e089df9e
1 changed files with 2 additions and 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");
|
||||
|
|
Loading…
Reference in a new issue