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 38. 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

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

Execute Selected Scripts

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

Edit Selected Scripts

Edit the selected scripts. The scripts are opened in the C/C++ editor.

Delete Selected Scripts

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

Import Script...

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

Cut

Copy and remove the selected script filename. You are also prompted to delete the script from file system.

Copy

Copy the selected script.

Paste

Paste 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

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

Select All

Select all script files.

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446D
Non-ConfidentialID011411