Created
April 17, 2015 03:17
-
-
Save quirkey/ea67425dba0f64cac4e3 to your computer and use it in GitHub Desktop.
rbtrace
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
# pid = pid of running ruby process | |
tracer = RBTracer.new(pid) | |
output = tracer.eval("StackProf.start") | |
puts output #=> "<StackProf ....>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment