Sha256: f55bba3726addc621a2491d1833ed7010fd05112899145890422584a9d342360

Contents?: true

Size: 916 Bytes

Versions: 7

Compression:

Stored size: 916 Bytes

Contents

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

class Trepan::Command::InfoCommand < Trepan::SubcommandMgr
  unless defined?(HELP)
    HELP =
'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 "info" for a list of "info" subcommands and what they do.
Type "help info *" for just a list of "info" subcommands.
'

    ALIASES       = %w(i)
    CATEGORY      = 'status'
    NAME          = File.basename(__FILE__, '.rb')
    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

7 entries across 7 versions & 2 rubygems

Version Path
rbx-trepanning-0.2.1-universal-rubinius-2.0 processor/command/info.rb
rbx-trepanning-0.2.1-universal-rubinius-1.2 processor/command/info.rb
rbx-trepanning-0.2.0-universal-rubinius-2.0 processor/command/info.rb
rb8-trepanning-0.1.6 processor/command/info.rb
rb8-trepanning-0.1.5 processor/command/info.rb
rbx-trepanning-0.1.0-universal-rubinius-1.2 processor/command/info.rb
rb8-trepanning-0.1.4 processor/command/info.rb