Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class method · added in Ruby 3.2

Thread.each_caller_location

Thread.each_caller_location{ |loc| ... } → nil

Yields each frame of the current execution stack as a backtrace location object.

Ruby version changes

  1. 3.2
See also .current .exit .abort_on_exception= .fork also in 4.1 · 4.0 · 3.4 · 3.2