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
ory-kratos-client-0.8.0.alpha2 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-client-0.0.1.alpha21 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-keto-client-0.7.0.alpha1 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-keto-client-0.7.0.alpha0 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-kratos-client-0.7.6.alpha7 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-kratos-client-0.7.6.alpha6 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-kratos-client-0.7.6.alpha5 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-kratos-client-0.7.6.alpha4 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-kratos-client-0.7.6.alpha3 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-kratos-client-0.7.6.alpha1 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
ory-kratos-client-0.7.5.alpha2 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
mx-platform-ruby-0.4.0 vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
mx-platform-ruby-0.3.2 vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
mx-platform-ruby-0.3.1 vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
passbase-1.3.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
mfk_openapi_ruby_client-1.0.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
passbase-1.2.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
passbase-1.1.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
passbase-1.0.3 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb
passbase-1.0.2 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb