Sha256: f3d8d7f52bcf09fddbc05e014ab2a858c7fa9b1c9e2b6b2549202920df6f2996

Contents?: true

Size: 807 Bytes

Versions: 6815

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,815 entries across 6,812 versions & 32 rubygems

Version Path
ory-client-0.0.1.alpha132 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
primary_connect_proto-0.7.3 vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
primary_connect_proto-0.7.2 vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha131 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha130 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
primary_connect_proto-0.7.1 vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
primary_connect_proto-0.7.0 vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha129 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha128 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha127 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha126 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha125 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha124 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha123 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha122 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha121 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha120 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha119 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha118 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha117 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb