130
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
Soft Breakpoint Support:
The Workbench supports soft breakpoints, which are inserted into assembler code using the
ctx_arb[bpt]
instruction and into Microengine C code using the
_assert macro
, which in turn
inserts a
ctx_arb[bpt]
instruction. When this instruction is executed, the Workbench is notified and
displays a message box indicating where the breakpoint occurred, i.e., the chip, Microengine,
thread, and instruction address. In simulation mode, the Workbench stops the simulation. In
hardware mode, the Workbench stops all the other Microengines. In either case, the user can
resume execution by clicking
Go, Step Over,
etc.
Inline- Function Breakpoint Support:
The Workbench supports inline-function breakpoints. Setting or clearing breakpoints in the inline
function on the source view causes all instances of the inline function in the list view to handle the
breakpoint (see
). All breakpoints can be enabled/disabled individually in the list view.
Step Into
will correctly track the function microinstruction line in the list view or the C source line
in a source view.
Step Out
will cause the instruction to continue running until it either hits another breakpoint or the
end of the program.
Figure 38. Inline Function Breakpoints in Source and List Views
Source View
List View