Created
November 14, 2014 13:37
-
-
Save djo/7c47c0f41dceb9ba6a42 to your computer and use it in GitHub Desktop.
Handle ruby trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc_object = proc do |event, file, line, id, binding, klass| | |
puts "#{event} in #{file}/#{line} #{id} #{klass}" | |
end | |
set_trace_func(proc_object) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment