Sha256: 3e7789a87b0a11ee5424ca4a5ef863a15ca100f5fbdec5f594a5cff4b1fbff35

Contents?: true

Size: 691 Bytes

Versions: 3

Compression:

Stored size: 691 Bytes

Contents

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

class Trepan::SubSubcommand::ShowTracePrint < Trepan::ShowBoolSubSubcommand
  unless defined?(HELP)
    HELP = "Show tracing print status"
    MIN_ABBREV   = 'p'.size
    NAME         = File.basename(__FILE__, '.rb')
    PREFIX       = %w(show trace buffer)
    SHORT_HELP   = "Show tracing print status"
  end

end

if __FILE__ == $0
  # Demo it.
  require_relative '../../../mock'
  require_relative '../trace'
  cmd = MockDebugger::subsub_setup(Trepan::SubSubcommand::ShowTrace,
                                   Trepan::SubSubcommand::ShowTracePrint)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trepanning-0.1.3 processor/command/show_subcmd/trace_subcmd/print.rb
trepanning-0.1.2 processor/command/show_subcmd/trace_subcmd/print.rb
trepanning-0.1.1 processor/command/show_subcmd/trace_subcmd/print.rb