Skip to content

Instantly share code, notes, and snippets.

@msroot
Created November 1, 2016 00:56
Show Gist options
  • Save msroot/a5047e4fcefbca40b07f85bcf3ca0a27 to your computer and use it in GitHub Desktop.
Save msroot/a5047e4fcefbca40b07f85bcf3ca0a27 to your computer and use it in GitHub Desktop.
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