module Byebug::ThreadFunctions
def parse_thread_num(subcmd, arg)
def parse_thread_num(subcmd, arg) if '' == arg errmsg "'%s' needs a thread number\n" % subcmd nil else thread_num = get_int(arg, "thread #{subcmd}", 1) return nil unless thread_num get_context(thread_num) end end