6件ヒット
[1-6件を表示]
(0.115秒)
ライブラリ
- ビルトイン (6)
クラス
- TracePoint (6)
検索結果
-
TracePoint
# instruction _ sequence -> RubyVM :: InstructionSequence (33613.0) -
script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。
...ipt_compiledイベント発生時にコンパイルされた
RubyVM::InstructionSequenceインスタンスを返します。
//emlist[例][ruby]{
TracePoint.new(:script_compiled) do |tp|
p tp.instruction_sequence # => <RubyVM::InstructionSequence:block in <main>@(eval):1>
end.enable do
eval("pu......ts 'hello'")
end
//}
@raise RuntimeError :script_compiled イベントのための
イベントフックの外側で実行した場合に発生します。...