Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
TracePoint#instruction_sequence
instruction_sequence
trace_point.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/trace_point.rb, line 415
def instruction_sequence
Primitive.tracepoint_attr_instruction_sequence
end
Compiled instruction sequence represented by a RubyVM::InstructionSequence instance on the :script_compiled event.
Note that this method is MRI specific.