From: "hurricup (Alexandr Evstigneev)" Date: 2022-03-18T09:41:37+00:00 Subject: [ruby-core:107972] [Ruby master Feature#18647] Non-recursive option for iseq-targeted Tracepoints in ruby 2.6+ Issue #18647 has been reported by hurricup (Alexandr Evstigneev). ---------------------------------------- Feature #18647: Non-recursive option for iseq-targeted Tracepoints in ruby 2.6+ https://bugs.ruby-lang.org/issues/18647 * Author: hurricup (Alexandr Evstigneev) * Status: Open * Priority: Normal ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: