diff options
| author | Koichi Sasada <ko1@atdot.net> | 2022-11-25 11:51:35 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2022-11-25 14:01:36 +0900 |
| commit | 67766cd55c3a05f9888c8e2b9e34051a44b3e3fc (patch) | |
| tree | db62bad59ad9c6040f7d1b13733d7d0bc2c384d9 /include/ruby/assert.h | |
| parent | 571d21fd4a2e877f49b4ff918832bda9a5e8f91c (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
