Skip to content

Instantly share code, notes, and snippets.

@JaredShay
Created December 1, 2018 23:19
Show Gist options
  • Save JaredShay/02f21e6dd6cebb4dac583cb16f49ac6d to your computer and use it in GitHub Desktop.
Save JaredShay/02f21e6dd6cebb4dac583cb16f49ac6d to your computer and use it in GitHub Desktop.
Small snippet to use `set_trace_func`
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