DEBUGGER__::Tracer
# File debug-1.4.0/lib/debug/tracer.rb, line 156 def setup @tracer = TracePoint.new(:raise) do |tp| next if skip?(tp) exc = tp.raised_exception out tp, " #{colorize_magenta(exc.inspect)}" rescue Exception => e p e end end
# File debug-1.4.0/lib/debug/tracer.rb, line 168 def skip_with_pattern?(tp) super && !tp.raised_exception.inspect.match?(@pattern) end
This page was generated for Ruby 3.1.2
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.