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
@ -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) {
|
||||||
if (iseq->body->local_table_size > 0) {
|
if (iseq->body->local_table_size > 0) {
|
||||||
fprintf(stderr, " lvars:\n");
|
fprintf(stderr, " lvars:\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user