Actions
Bug #15471
closed-e and specified file does not kick script_compiled TracePoint event
Description
Of course, ruby -e ...
or ruby script.rb
compile given ruby script. But script_compiled
event is not kicked.
$ ruby -r sample x.rb
We can put TracePoint in sample library but we can't get script_compiled
event on -e
or given x.rb
file. It should be a bug.
Updated by ko1 (Koichi Sasada) almost 6 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r66595.
fix missed script_compiled events. [Bug #15471]
-
ruby.c (process_options): script_compiled events are missed on
command line -e or specified file. this commit fix it.
[Bug #15471]This patch should be backport to Ruby 2.6 branch.
-
vm_core.h (rb_exec_event_hook_script_compiled): introduce utility
function to invoke a script_compiled event.
Updated by nagachika (Tomoyuki Chikanaga) almost 6 years ago
- Backport changed from 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN to 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED
Updated by naruse (Yui NARUSE) almost 6 years ago
- Backport changed from 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED to 2.4: DONTNEED, 2.5: DONTNEED, 2.6: DONE
ruby_2_6 r66815 merged revision(s) 66595.
Actions
Like0
Like0Like0Like0