170
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
2.14
Running in Batch Mode
Workbench Batch Files:
A Workbench batch file is an ASCII text file.
•
The first line must contain the complete path for a Workbench project file, for example,
c:\mydir\router.dwp.
•
The Workbench opens the specified project and performs a build operation.
•
The second line must contain the keyword hardware or simulation to specify the debug
configuration.
•
The Workbench starts debugging in the specified configuration.
•
All subsequent lines are executed by the command line interface.
•
To have the Workbench exit when it completes executing the batch file, place an exit
command as the last line in the batch file.
Here is an example of a batch file:
c:\mydir\router.dwp
simulation
sfoobar.ind
go 100
exit
Batch Mode:
You can run the Workbench in batch mode
by specifying a Workbench batch file
preceded by an @ as a program argument
when starting the Workbench.
For example:
1. On the Windows task bar, click
Start
,
and then click
Run.
Figure 54. Save Packet Simulation Stats to a File