You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So there are 2 more frames on TruffleRuby due to the call to rb_ensure() which is actually part of the stacktrace, unlike on CRuby.
We could potentially try to apply an offset in this C extension to hide this.
OTOH, people might want to filter the open call and maybe even some callers, in which case such filtering code would work for both without any changes.
Example of such filtering:
Currently:
So there are 2 more frames on TruffleRuby due to the call to rb_ensure() which is actually part of the stacktrace, unlike on CRuby.
We could potentially try to apply an offset in this C extension to hide this.
OTOH, people might want to filter the
open
call and maybe even some callers, in which case such filtering code would work for both without any changes.Example of such filtering:
debug_inspector/test/basic_test.rb
Lines 5 to 7 in 582251c
The text was updated successfully, but these errors were encountered: