| |||
| Home > RTOS Support > Associating threads with views > Using the Cycle Threads button | |||
When
HSD or RSD is fully operational, this enables the Cycle
Threads button and drop-down arrow on the Connect toolbar
in the Code window:
Use the Cycle Threads button to view thread details and change the current thread, see Viewing thread details for details.
Use the Cycle Threads button drop-down to access the thread list where you can change your thread view and windows attachment, see Working with the thread list for details.
For HSD, the thread list is only available when the processor is stopped.
Use
the Cycle Threads button to view each of
the threads on the system in turn. Click the Cycle Threads button
to cycle an unattached window through the threads so that it displays
details about a new thread. This changes the current thread and
updates your code view. The new current thread appears in the Code
window title bar and the Color Box changes color.
You can only cycle through the threads in this way in a Code window that is not attached to a thread. If your Code window is attached to a thread and you try to cycle threads in this way, a dialog box appears:
Window attached. Do you want to detach first?
Click Yes to unattach the window and change the thread view. Click No to abort the action and leave the thread view unchanged.
You can use the Cycle Threads button to cycle through the thread list in a Code window that is attached to a connection without changing the windows attachment.
If you click the Cycle Threads button to change the current thread:
the Cmd tab of the Output pane displays the thread,next command
the Log tab of the Output pane displays details of the new current thread, that is the thread number in decimal and the thread name.
You can also change the current thread using the Thread tab in the Process Control pane, see Using the Thread tab for details.