| |||
| Home > Associating Threads with Views > Working with the thread list > The thread list | |||
The thread list on the Cycle Threads button is available:
for a processor running in HSD mode, when that processor is stopped
for a processor running in RSD mode.
Click
the Cycle Threads drop-down arrow to cause
RealView Debugger to fetch the list of threads from the target and
display a summary. Figure 4.1 shows
an example:
The number of threads a Debug Agent can handle is defined by your OS vendor. When the thread buffer is full, no threads can be displayed.
The first option on this menu is Attach Window to a Thread. Use this to control windows attachment.
Below the menu spacer is a snapshot of the threads running on the target when the request was made. The thread information shown depends on the OS plug-in. In the example in Figure 4.1, the fields shown (from left to right) for each thread are the:
address of the thread control block
name of the thread
status of the thread.
Click on a new thread, in the thread list, to change the code view so that it displays the registers, variables, and code for that thread:
If you click on a new thread in an unattached Code window, it becomes attached to the thread automatically. The thread details appear in the Code window title bar and the color box changes color.
If you change the thread view in this way, other unattached windows are not affected, that is they remain unattached and continue to show the current thread.
If you click on a new thread in a Code window that is attached to a connection, it becomes attached to the thread automatically.
If you click on a new thread in a Code window that is attached to a thread, it becomes attached to the specified thread.
In this release, the Debug Agent handles up to 64 threads. Where the thread list does not show the full details, use the thread selection box to see all the threads detected on the system.