Created
February 19, 2012 20:15
-
-
Save brainopia/1865549 to your computer and use it in GitHub Desktop.
This file contains 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
# Get backtrace for each thread | |
# ruby 1.9 | |
Thread.list.map(&:backtrace) | |
# ruby enterprise edition | |
# http://www.rubyenterpriseedition.com/documentation.html#_obtaining_the_backtrace_of_all_threads | |
require 'thread' | |
caller_for_all_threads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment