Thursday, February 14, 2008

Simple ruby set_trace_func() call

This is a very simple and pre-formatted set_trace_func() call. Quite handy!

set_trace_func proc { |event, file, line, id, binding, classname| printf "%8s %s:%-2d %10s %8s\n", event, file, line, id, classname }

0 Comments:

Post a Comment

<< Home