class Byebug::ThreadSwitchCommand
:nodoc:
def execute
def execute c = parse_thread_num_for_cmd("thread switch", @match[1]) return unless c display_context(c) c.stop_next = 1 c.thread.run @state.proceed end
def help(cmd)
def help(cmd) %{ th[read] [sw[itch]] <nnn>\tswitch thread context to nnn } end
def help_command
def help_command 'thread' end
def regexp
def regexp /^\s*th(?:read)?\s*(?:sw(?:itch)?)?\s+(\S+)\s*$/ end