Scripts view

This view contains your favorite scripts. You can run, edit, or remove one or more of your favorite scripts. Scripts can be added to this view when you save commands in the History view.

Multiple selections are executed in the order listed in the view. To change the order, remove the scripts from the view and import them in the required order.

Figure 47. Scripts view

Scripts view

Note

Default settings for this view are controlled by a DS-5 Debugger setting in the Preferences dialog box. For example, default locations for script files. You can access these settings by selecting Preferences... from the Window menu.

Show/hideToolbar and context menu options

The following options are available from the toolbar or context menu:

Creates a new script

Creates a new empty script. To specify the script contents after it is created, select the script and click Edit Selected Script.

Execute Selected Scripts

Runs the selected scripts. If you select multiple scripts, the debugger runs them in the order listed in the Scripts view.

Edit Selected Scripts

Enables you to edit the selected scripts. The scripts are opened in the C/C++ editor.

Delete Selected Scripts

Deletes the selected scripts from the favorites list. You are also prompted to delete the script from the file system.

Import Script...

Imports a script file and add it to the favorites list.

Cut

Copies and removes the selected script filename. You are also prompted to delete the script from file system.

Copy

Copies the selected script.

Paste

Pastes a script filename that you have previously cut or copied.

If you deleted the file from the file system as part of a Cut operation, the file contents are not restored. You must edit the file to add new commands.

If you did not delete the file as part of a Cut operation, the debugger links the filename to the file in the file system.

Delete

Deletes the selected script from the favorites list. You are also prompted to delete the script from file system.

Select All

Selects all script files.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0446I
Non-ConfidentialID022212