Actions
Feature #18647
openNon-recursive option for iseq-targeted Tracepoints in ruby 2.6+
Status:
Open
Assignee:
-
Target version:
-
Description
I can see that iseq-targeted TracePoints introduced in ruby 2.6 working recursively and there is no API to avoid that, even on C level, because related method is not exported by rubylib.
This may be handy in some cases, but I'd like to be able to put precise tracepoint to the method line (without any child iseqs, like blocks on the same line)
Would be really nice to have some recursive = true
argument in the enable
method.
Otherwise, to implement some precise breakpoint I need manually to check if topmost user iseq is the expected one. This may be really bad for performance in some cases.
No data to display
Actions
Like0