Sha256: fea942e58b523cc7ea144c9d4ddbde5449020bff6603328e5543bf30289e6561

Contents?: true

Size: 619 Bytes

Versions: 26

Compression:

Stored size: 619 Bytes

Contents

require 'byebug/subcommands'

require 'byebug/commands/thread/current'
require 'byebug/commands/thread/list'
require 'byebug/commands/thread/resume'
require 'byebug/commands/thread/stop'
require 'byebug/commands/thread/switch'

module Byebug
  #
  # Manipulation of Ruby threads
  #
  class ThreadCommand < Command
    include Subcommands

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

    def self.description
      <<-EOD
        th[read] <subcommand>

        #{short_description}
      EOD
    end

    def self.short_description
      'Commands to manipulate threads'
    end
  end
end

Version data entries

26 entries across 25 versions & 3 rubygems

Version Path
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread.rb
tdiary-5.0.6 vendor/bundle/gems/byebug-9.1.0/lib/byebug/commands/thread.rb
byebug-9.1.0 lib/byebug/commands/thread.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/byebug-9.0.6/lib/byebug/commands/thread.rb
tdiary-5.0.5 vendor/bundle/gems/byebug-9.0.6/lib/byebug/commands/thread.rb
tdiary-5.0.4 vendor/bundle/gems/byebug-9.0.6/lib/byebug/commands/thread.rb
byebug-9.0.6 lib/byebug/commands/thread.rb
byebug-9.0.5 lib/byebug/commands/thread.rb
byebug-9.0.4 lib/byebug/commands/thread.rb
byebug-9.0.3 lib/byebug/commands/thread.rb
byebug-9.0.2 lib/byebug/commands/thread.rb
byebug-9.0.1 lib/byebug/commands/thread.rb
byebug-9.0.0 lib/byebug/commands/thread.rb
byebug-8.2.5 lib/byebug/commands/thread.rb
byebug-8.2.4 lib/byebug/commands/thread.rb
byebug-8.2.3 lib/byebug/commands/thread.rb
byebug-8.2.2 lib/byebug/commands/thread.rb
byebug-8.2.1 lib/byebug/commands/thread.rb
byebug-8.2.0 lib/byebug/commands/thread.rb
byebug-8.1.0 lib/byebug/commands/thread.rb