要将查看上下文切换到另一线程,请使用 thread 命令。语法如下:
thread [-blocks] [-blockedby] [-info] [-hide] [-unhide] [-suspend] [-resume] thread_id
要显示当前线程,请键入:
thread
要切换到线程 thread_id,请键入:
thread thread_id
有关 thread 命令的更多信息,请参见thread 命令。