Showing posts with label set_trace_func. Show all posts
Showing posts with label set_trace_func. Show all posts

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