summaryrefslogtreecommitdiff
path: root/include/ruby/assert.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2022-11-25 11:51:35 +0900
committerKoichi Sasada <ko1@atdot.net>2022-11-25 14:01:36 +0900
commit67766cd55c3a05f9888c8e2b9e34051a44b3e3fc (patch)
treedb62bad59ad9c6040f7d1b13733d7d0bc2c384d9 /include/ruby/assert.h
parent571d21fd4a2e877f49b4ff918832bda9a5e8f91c (diff)
add debug context APIs for debuggers (frame depth)
The following new debug context APIs are for implementing debugger's `next` (step over) and similar functionality. * `rb_debug_inspector_frame_depth(dc, index)` returns `index`-th frame's depth. * `rb_debug_inspector_current_depth()` returns current frame depth. The frame depth is not related to the frame index because debug context API skips some special frames but proposed `_depth()` APIs returns the count of all frames (raw depth).
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6805
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions