Sha256: 7abf6bfef15236b307547f2d8c9339cc47a21acf2f20feb08b29c6cf6eb9ab56

Contents?: true

Size: 721 Bytes

Versions: 12

Compression:

Stored size: 721 Bytes

Contents

# -*- coding: utf-8 -*-
# Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net>
require_relative '../../base/subsubcmd'

class Trepan::SubSubcommand::SetDebugSkip < Trepan::SetBoolSubSubcommand
  unless defined?(HELP)
    HELP        = 'Set debugging of statement skip logic'
    MIN_ABBREV  = 'sk'.size
    NAME        = File.basename(__FILE__, '.rb')
    PREFIX      = %W(set debug #{NAME})
  end
end

if __FILE__ == $0
  # Demo it.
  require_relative '../../../mock'
  require_relative '../debug'
  cmd = MockDebugger::subsub_setup(Trepan::SubSubcommand::SetDebug,
                                   Trepan::SubSubcommand::SetDebugSkip)
  %w(off on 0 1).each { |arg| cmd.run([cmd.name, arg]) }
  puts '-' * 10
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trepanning-2.15.35 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-1.93.35 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-2.15.33 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-1.93.32 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.1.6 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.1.4 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.1.3 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.1.2 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.1.1 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.1.0 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.0.9 processor/command/set_subcmd/debug_subcmd/skip.rb
trepanning-0.0.8 processor/command/set_subcmd/debug_subcmd/skip.rb