15.7.1. Running scripts using the Scripts toolbar

To run a command script using the Scripts toolbar:

  1. Click Add Script in the Scripts toolbar to open the Choose Include File dialog box.

  2. Locate the required script file.

    By default, RealView Debugger looks for *.inc and *.log files.

  3. Select the script file to be added to the Scripts toolbar.

    You can select multiple scripts files to be added, if required.

  4. Click Open to load the command script.

    The location of the each selected script file is added to list of script files in the toolbar. Figure 15.4 shows an example:

    Figure 15.4. Script file added to Scripts toolbar

    Script file added to Scripts toolbar

  5. Click Run Script to run the script.

  6. To run a previously added command script:

    1. Select the required script from the script drop-down list.

    2. Click Run Script.

When a script is running a Script indicator is displayed in the Code window status bar.

If you want to remove a script from the script list:

  1. Select the required script from the script drop-down list.

  2. Click Remove Script. The script entry is removed from the list. However, the script file is not deleted from your workstation.

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111