| Module | FeedTools::DebugHelper |
| In: |
lib/feed_tools/helpers/debug_helper.rb
|
Forces a stack_trace without interfering with the program
# File lib/feed_tools/helpers/debug_helper.rb, line 27
27: def self.stack_trace
28: fork do
29: ObjectSpace.each_object(Thread) do |th|
30: th.raise Exception, "Stack Dump" unless Thread.current == th
31: end
32: raise Exception, "Stack Dump"
33: end
34: end