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.alpha103 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-hydra-client-1.11.5 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha101 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha100 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-hydra-client-1.11.4 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha99 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha98 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha97 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha96 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha95 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha94 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha93 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha92 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-oathkeeper-client-0.38.20.beta1 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha91 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha90 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha89 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha88 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha87 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha86 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb