RealView
DebuggerYou can cycle through the threads to display each in turn in any unattached windows, or windows attached to the current processor but not to a specific thread. The registers, variables, and code for the selected thread are displayed. In HSD mode the processor must be stopped, and in RSD mode, you can only see this information for captive threads. In RSD mode, execution control passes to the current thread, enabling you to set a thread breakpoint for example.
In multiprocessor mode, you can cycle
through the threads in a window that is attached to the processor running
the RTOS application, but not attached to a thread.
You can see a list of active threads in the thrd
tab of the Resource Viewer window,
the Thread tab of the Process
Control pane, or by clicking the
on the Cycle
Threads button
.
The list contains information about each thread, depending on your RTOS, for example:
the address of the thread control block
the name of the thread
the current priority of the thread
the status of the thread (for example, ready or suspended)
the thread suspend flags
To display the next active thread in the list:
Click on the
of the Cycle Threads button
to display the next active thread in the list. An asterisk
(*) indicates the selected thread.
Alternatively, you can make a specified thread current from the Thread tab of the Process Control pane.
If you click on
in a
window that is attached to a thread, indicated by a checkmark (
) in the list, you are asked whether you want to unattach
first. If you reply No, the request is ignored.