Commands view

This view enables you to:

Figure 27. Commands view

Commands view

You can execute DS-5 Debugger commands by entering the command in the field provided, then click Submit. This feature is not available until you connect to a target.

You can use the content assist keyboard combination Ctrl+Space in the Command field to display a list of DS-5 Debugger commands. Filtering is also possible by entering a partial command. For example, enter pr followed by the keyboard combination Ctrl+Space to search for the print command.

To display sub-commands you must filter on the top level command. For example, enter info followed by the keyboard combination Ctrl+Space to display all the info sub-commands.

Figure 28. Content Assist

Content Assist

Note

Default settings for this view are controlled by a DS-5 Debugger setting in the Preferences dialog box. For example, default locations for specific files or the maximum number of lines to display. 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:

Save Console Buffer

Save the contents of the Commands view to a text file.

Clear Console

Clear the contents of the Commands view.

Scroll Lock

Enable or disable the automatic scrolling of messages in the Commands view.

Script menu

A menu of options that enable you to manage and run command scripts:

<Recent scripts list>

A list of the recently run scripts.

<Recent favorites list>

A list of the scripts you have added to your favorites list.

Run Script File...

Display the Open dialog box to select and run a script file.

Organize Favorites...

Display the Scripts view, where you can organize your scripts.

Show Command History View

Display the History view.

Copy

Copy the selected commands. You can also use the standard keyboard shortcut to do this.

Paste

Paste the command that you have previously copied into the Command field. You can also use the standard keyboard shortcut to do this.

Select all

Select all output in the Commands view. You can also use the standard keyboard shortcut to do this.

Save the selected lines as a script...

Display the Save As dialog box to save the selected commands to a script file.

When you click Save on the Save As dialog box, you are given the option to add the script file to your favorites list. Click OK to add the script to your favorites list. Favorites are displayed in the Scripts view.

Execute selected lines

Run the selected commands.

Show/hideSee also

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