Sha256: 90247bfcc9a9dc8bdfd16b01b9f46cb13853292fc99d721138ea965a7aa8bc34
Contents?: true
Size: 653 Bytes
Versions: 22
Compression:
Stored size: 653 Bytes
Contents
module Debugger # Implements debugger "skip" command class SkipCommand < Command self.allow_in_control = true def regexp / ^\s* sk(?:ip)? \s* $ /ix end def execute Debugger::skip_next_exception print "ok\n" end class << self def help_command %w[skip] end def help(cmd) %{ sk[ip]\tskip the next thrown exception This is useful if you've explicitly caught an exception through the "catch" command, and wish to pass the exception on to the code that you're debugging. } end end end end
Version data entries
22 entries across 22 versions & 3 rubygems