Sunday, 11 August 2013

How to get an array of Thread::Backtrace::Location related to an exception

How to get an array of Thread::Backtrace::Location related to an exception

Is there a way to get an array of Thread::Backtrace::Location instances
attached to an Exception instance? If so, how? There are
Kernel#caller_locations and Thread#backtrace_locations, but I don't know
if those are to be used.

No comments:

Post a Comment