class DEBUGGER__::ExceptionTracer
Public Instance Methods
Source
# File bundled-src/debug-1.11.1/lib/debug/tracer.rb, line 151 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
Source
# File bundled-src/debug-1.11.1/lib/debug/tracer.rb, line 163 def skip_with_pattern?(tp) super && !tp.raised_exception.inspect.match?(@pattern) end
Calls superclass method
DEBUGGER__::Tracer#skip_with_pattern?