16.3.1. Loading a user-defined macro using the Scripts toolbar

To load a user-defined macro using the Scripts toolbar:

  1. Click Add Script in the Scripts toolbar.

    The Choose Include File dialog box is displayed.

  2. Locate the script file containing your macro definition.

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

  3. Click Open to load the script file.

    The location of the script file is added to the top of the list of script files in the toolbar, shown in Figure 16.2.

    Figure 16.2. Script file added to Scripts toolbar

    Script file added to Scripts toolbar

  4. Click Run Script to run the script.

  5. To run a previously added script:

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

    2. Click Run Script.

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-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential