Sha256: d964f1f01d037a3ce758d6c5153fc0452e8a2d5586a578317f59121e3ab5ee23

Contents?: true

Size: 925 Bytes

Versions: 4

Compression:

Stored size: 925 Bytes

Contents

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

class Trepan::Command::InfoCommand < Trepan::SubcommandMgr
  unless defined?(HELP)
    NAME = File.basename(__FILE__, '.rb')
    HELP = <<-HELP
**#{NAME}** [*info-subcommand*]

Generic command for showing things about the program being debugged.

You can give unique prefix of the name of a subcommand to get
information about just that subcommand.

Type `#{NAME}` for a list of *#{NAME}* subcommands and what they do.
Type `help #{NAME} `" for just a list of `*#{NAME}*` subcommands.
    HELP

    ALIASES       = %w(i)
    CATEGORY      = 'status'
    SHORT_HELP    = 'Information about debugged program and its environment'
  end
end

if __FILE__ == $0
  require_relative '../mock'
  require 'ruby-debug'; Debugger.start; debugger
  dbgr, cmd = MockDebugger::setup
  cmd.run(['info', 'iv'])
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trepanning-2.15.35 processor/command/info.rb
trepanning-1.93.35 processor/command/info.rb
trepanning-2.15.33 processor/command/info.rb
trepanning-1.93.32 processor/command/info.rb