class Byebug::ThreadListCommand
List current threads.
def description
def description prettify <<-EOD th[read] l[ist] Lists all threads. EOD end
def execute
def execute contexts = Byebug.contexts.sort_by(&:thnum) thread_list = prc('thread.context', contexts) do |context, _| thread_arguments(context) end print(thread_list) end
def names
def names %w(thread) end
def regexp
def regexp /^\s* th(?:read)? \s+ l(?:ist)? \s*$/x end