Saturday, December 2, 2006

Ruby: Tracing every method call with set_trace_func or Needle

Saw an interesting thread on comp.lang.ruby.
The original poster asked how to trace every method call in a program.

Using Kernel#set_trace_func and Needle were two ways suggested.


- Vasudev Ram

1 comment:

Roger Pack said...

see tracer.rb and unroller gem for examples of use.