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
passbase-1.0.1 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
passbase-1.0.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
files.com-1.0.1 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
byebug-11.1.3 lib/byebug/commands/info.rb
byebug-11.1.2 lib/byebug/commands/info.rb
talon_one-2.0.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.1/lib/byebug/commands/info.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.1/lib/byebug/commands/info.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.1/lib/byebug/commands/info.rb
byebug-11.1.1 lib/byebug/commands/info.rb
byebug-11.1.0 lib/byebug/commands/info.rb