instance method
Thread#backtrace_locations
(*untyped args) -> ::Array[untyped]?
thread.backtrace_locations(*args) → array or nil
thread.c
View on GitHub ↗
static VALUE
rb_thread_backtrace_locations_m(int argc, VALUE *argv, VALUE thval)
{
return rb_vm_thread_backtrace_locations(argc, argv, thval);
}
Returns the execution stack for the target thread—an array containing backtrace location objects.
See Thread::Backtrace::Location for more information.
This method behaves similarly to Kernel#caller_locations except it applies to a specific thread.