Development Tools User’s Manual
119
IXP2400/IXP2800 Network Processors
Developer Workbench
Step Into (see
Step Out (see
).
).
Run to Cursor (see
Toggle View (see
).
Note:
Unlike the assembled thread window, you cannot expand or collapse the display in a compiled
thread window in list view.
Note:
Not all buttons are available in hardware mode.
2.13.8.3
Tracking the Active Thread
You can specify that you want tracking of the active thread by clicking the
button in the thread
window toolbar. This feature is available only if you have specified that you want only one thread
window or one thread window per chip or per Microengine.
When Microengine execution is started then stopped and a different thread in the same
Microengine becomes active, the thread window is automatically changed to display the active
thread.
In the
Thread Windows Options
dialog box, specify whether new thread windows are opened
with active thread tracking enabled by selecting or clearing Track active thread in new thread
windows.
2.13.8.4
Running to Cursor
If you are debugging in Simulation mode, you can place the cursor at a point in the code and then
you can Run to Cursor.
To do this:
1. Place the cursor on a line in a thread window by clicking in that line.
2. On the
Debug
menu, click
Run Control
, then click
Run To Cursor
, or
Click the
button in the
Thread
window
.
Or:
Right-click in the line to which you want to run, then select
Run To Cursor
from the shortcut
menu.
If the line is in the source view of a compiled thread or if it contains a collapsed macro reference in
an assembled thread, then the simulation runs until the first generated instruction is reached.
Run to Cursor
can be performed only on lines that generated instructions.
2.13.8.5
Toggle View
When debugging a mixed C and assembler microengine project, the thread window can toggle
between the source file view and list file view.