Skip to content

Instantly share code, notes, and snippets.

@rorcraft
Created January 20, 2012 00:54
Show Gist options
  • Save rorcraft/1644150 to your computer and use it in GitHub Desktop.
Save rorcraft/1644150 to your computer and use it in GitHub Desktop.
magic debug trace
# set_trace_func proc { |event,file,line,id,binding,classname| printf "%8s %s:%-2d %10s %8s\n", event, file, line, id, classname }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment