From: matz@... (Yukihiro Matsumoto) Date: 2001-06-26T11:57:32+09:00 Subject: [ruby-talk:16872] Re: Writting a profiler / line coverager / debugger for ruby Hi, In message "[ruby-talk:16864] Re: Writting a profiler / line coverager / debugger for ruby" on 01/06/26, Dave Thomas writes: |> I just looked in the ruby reference and didn't find something like the |> "trace" callback in python. Is it possible to specify a function that |> will be called after every ruby statement. | |It's called "set_trace_func", in the Kernel module | | http://www.rubycentral.com/book/ref_m_kernel.html#set_trace_func And it may be useful to check out debug.rb (debugger), profile.rb (profiler), tracer.rb (function tracer) in the lib directory. matz.