Commands view

This view enables you to:

Figure 35. 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.


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:

Linked: context

Links this view to the selected connection in the Debug Control view. This is the default. Alternatively you can link the view to a specific connection. If the connection you want is not shown in the drop-down list you might have to select it first in the Debug Control view.

Save Console Buffer

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

Clear Console

Clears the contents of the Commands view.

Scroll Lock

Enables or disables 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...

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

Organize Favorites...

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

Show Command History View

Displays the History view.


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


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

Select all

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

Save the selected lines as a script...

Displays 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

Runs the selected commands.

New Commands View

Displays a new instance of the Commands view.

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446H