
168
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
•
To display the
Thread Status
window, on the
View
menu, click
Debug Windows
, then click
Thread Status
), or
Click the
button on the
View
toolbar.
In each Microengine, an arrow appears to the left of the thread that is currently executing or that is
scheduled to resume execution when the Microengine resumes execution.
Select which chip’s status is displayed using the box in the upper left corner of the
Thread Status
window. Chip selection is synchronized with chip selection in the memory watch, queue status and
history windows.
View:
You can control which threads are displayed by expanding and collapsing the Microengine entries
in the status tree. You can expand the tree so that all threads of the selected chip are displayed by
right-clicking and selecting
Expand All
on the shortcut menu.
Update:
The status display is updated whenever Microengine execution stops—when you stop execution or
when you hit a breakpoint.
Polling:
You can also have the Workbench poll the threads and update the status at regular intervals. To
enable or disable thread status polling and to change the polling interval:
1. On the
Debug
menu, click
Status Polling
, or
Right-click within the
Thread Status
window and click
Status Polling
on the shortcut menu.
The
Status Polling
dialog box appears.
2. Select
Poll thread status
to enable polling or clear it to disable polling.
Note:
You can also enable and disable polling in the
Thread Status
dialog box by selecting or clearing
Enable Polling.
Polling Interval:
If you enable polling, specify the polling interval by:
•
Typing the number of seconds between polls in the Polling interval (sec) box. You can also use
the spin controls to increment or decrement the number in the box.
Figure 52. The Thread Status Window