Sha256: f3d8d7f52bcf09fddbc05e014ab2a858c7fa9b1c9e2b6b2549202920df6f2996

Contents?: true

Size: 807 Bytes

Versions: 6770

Compression:

Stored size: 807 Bytes

Contents

# frozen_string_literal: true

require_relative "../subcommands"

require_relative "../commands/info/breakpoints"
require_relative "../commands/info/display"
require_relative "../commands/info/file"
require_relative "../commands/info/line"
require_relative "../commands/info/program"

module Byebug
  #
  # Shows info about different aspects of the debugger.
  #
  class InfoCommand < Command
    include Subcommands

    self.allow_in_control = true
    self.allow_in_post_mortem = true

    def self.regexp
      /^\s* i(?:nfo)? (?:\s+ (.+))? \s*$/x
    end

    def self.description
      <<-DESCRIPTION
        info[ subcommand]

        #{short_description}
      DESCRIPTION
    end

    def self.short_description
      "Shows several informations about the program being debugged"
    end
  end
end

Version data entries

6,770 entries across 6,767 versions & 30 rubygems

Version Path
cybrid_api_id_ruby-0.123.112 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_bank_ruby-0.123.111 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_organization_ruby-0.123.111 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_id_ruby-0.123.111 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_id_ruby-0.123.110 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_bank_ruby-0.123.110 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_organization_ruby-0.123.110 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_bank_ruby-0.123.109 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_organization_ruby-0.123.109 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_id_ruby-0.123.109 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_bank_ruby-0.123.107 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_organization_ruby-0.123.107 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_id_ruby-0.123.107 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_bank_ruby-0.123.106 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_organization_ruby-0.123.106 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_id_ruby-0.123.106 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_organization_ruby-0.123.105 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_bank_ruby-0.123.105 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_id_ruby-0.123.105 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
cybrid_api_bank_ruby-0.123.104 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb