App Console view
Use the App Console view to interact with the console I/O capabilities provided by the semihosting implementation in the ARM C libraries. To use this feature, semihosting support must be enabled in the debugger.
Figure 10-1 App Console view
NoteDefault settings for this view, for example the maximum number of lines to display, are controlled by the DS-5 Debugger option in the Preferences dialog box. 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:
Links this view to the selected connection in the Debug Control view. This is the default. Alternatively, you can link the view to a different 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 App Console view to a text file.
- Clear Console
Clears the contents of the App Console view.
- Toggles Scroll Lock
Enables or disables the automatic scrolling of messages in the App Console view.
- View Menu
This menu contains the following options:
- New App Console View
Displays a new instance of the App Console view.
- Bring to Front for Write
If enabled, the debugger automatically changes the focus to this view when a semihosting application prompts for input.
Copies the selected text.
Pastes text that you have previously copied. You can paste text only when the application displays a semihosting prompt.
- Select All
Selects all text.