class Byebug::ThreadStopCommand

:nodoc:

def execute

def execute
  c = parse_thread_num_for_cmd("thread stop", @match[1])
  return unless c
  c.suspend
  display_context(c)
end

def help(cmd)

def help(cmd)
  %{
    th[read] stop <nnn>\t\tstop thread nnn
  }
end

def help_command

def help_command
  'thread'
end

def regexp

def regexp
  /^\s*th(?:read)?\s+stop\s*(\S*)\s*$/
end