Method: DEBUGGER__::CatchBreakpoint#initialize

Defined in:
lib/debug/breakpoint.rb

#initialize(pat, cond: nil, command: nil, path: nil) ⇒ CatchBreakpoint

Returns a new instance of CatchBreakpoint.



305
306
307
308
309
310
311
# File 'lib/debug/breakpoint.rb', line 305

def initialize pat, cond: nil, command: nil, path: nil
  @pat = pat.freeze
  @key = [:catch, @pat].freeze
  @last_exc = nil

  super(cond, command, path)
end