Describes the view content.
This view enables you to:
Enter debugger commands.
Run command scripts.
See messages output by the debugger.
Save the contents to a text file.
Figure 10-7 Commands view
You can execute DS-5™ Debugger commands by entering the command in the field provided, then click Submit.
NoteThis feature is not available until you connect to a target.
You can also use content assist keyboard combinations provided by Eclipse 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 content assist
keyboard combination to search for the
To display sub-commands, you must filter on the top level command. For
example, enter info followed by the content
assist keyboard combination to display all the
See DS-5 Debug perspective keyboard shortcuts in the Related reference section for details about specific content assist keyboard combinations available in DS-5 Debugger.
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.
Toolbar 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 theDebug 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.