class Byebug::ThreadListCommand
List current threads.
def description
def description %(th[read] l[ist] Lists all threads.) end
def execute
def execute Byebug.contexts.select { |c| Thread.list.include?(c.thread) } .sort_by(&:thnum).each { |c| display_context(c) } end
def names
def names %w(thread) end
def regexp
def regexp /^\s* th(?:read)? \s+ l(?:ist)? \s*$/x end