| |||
| Home > RealView Debugger Commands > Alphabetical command reference > THREAD | |||
Sets the specified thread to be the current thread.
THREAD [{,next|,default}]
THREAD [= thread]
where:
nextChange the current thread to be the next one in the list of threads.
defaultEnsures that there is a valid current thread.
threadDefine the thread that is to become the current thread. You can use the thread name or the thread ID.
The THREAD command sets the specified thread to be the current thread.
The current thread is normally set by whichever thread stops last. This command enables you to specify a thread that is to be the current thread. By default, all actions apply to the current board, process, and thread.
The following examples show how to use THREAD:
thread,nextChange the current thread to the next thread.
thread =thread_2Change the current thread to the thread named thread_2.
thread =0x13dacChange the current thread to the thread with an
ID of 0x13dac.