Perspectives and views

The main workbench window contains one or more perspectives and each perspective contains one or more views.


Perspectives can be opened and customized using the options from the Window menu or you can use the perspective toolbar. By default a perspective opens in the same window, however, you can change the default settings in the Preferences dialog box.

Eclipse for DS-5 focuses on the C/C++ perspective and the DS-5 Debug perspective. You can change perspective by using the perspective toolbar or you can select Window → Open perspective from the main menu.

Figure 12. Changing perspective using the toolbar menu

Changing perspective using the toolbar menu


A view is a small visual component within Eclipse to navigate through resources or to display specific properties. An editor is a special type of view that enables viewing and editing of source files.

Views can be moved or docked as applicable by dragging and dropping them into position. Double-clicking on a view tab toggles the maximize/restore options for that view or you can use the relevant toolbar icons. To reset all the views in a perspective to the initial settings and layout you can click on Reset Perspective... in the Window menu.

The following views are useful when building and debugging C/C++ applications:


Editors are associated with specific file types and open the related editor view automatically when you open an editable file from the Project Explorer view.

General views

Displays output messages when building projects and also execution messages when running or debugging an application.


Displays a structured list of C/C++ elements in the active file. Clicking on an element changes the editor focus to the position of that element in the active file.


Displays error messages encountered during a build. Selecting an error message opens the associated file and moves the focus to the line causing the problem.


Displays the progress meter when a task is in progress.

Project Explorer

Provides a hierarchical view of resources relevant to C/C++ project files. Right-clicking on a resource produces a context menu for specific tasks.


Displays names and values for the selected item. For example, the last modified time/date for a file.

Help views
Help Contents

Displays the installed documentation.

Dynamic Help

Displays dynamic help for the selected feature.

Cheat Sheets

Displays step by step instructions to help you complete a specific task. Use the view menu to access the list of cheat sheets.

DS-5 Debugger views
App Console

Enables you to interact with the I/O capabilities provided by the semihosting implementation in the ARM® C libraries.

ARM Asm Info

Enables you to view more information on an ARM® or Thumb® instruction or directive.


Displays all the breakpoints and the repsective locations in source code or target memory. Using this view you can add, edit, delete, enable or disable breakpoints.


Provides access to the scripting functionality of the debugger. Most debugger actions are echoed here and you can also execute DS-5 Debugger commands.

Debug Control

Contains a tree hierarchy showing debug connection states, processors, threads and stack frames as applicable.


Displays disassembled code.


Enables you to view and edit expressions.


Provides a historical log of all the executed debugger commands.


Enables you to view and edit the contents of memory.


Enables you to view shared libraries or loaded Operating System (OS) modules.


Enables you to view and edit registers associated with the selected stack frame. When your application stops, modified values are highlighted.


Enables you to display a block of memory as a graphical image. For example, a frame buffer.


Provides access to run and edit script files.


Displays a list of capabilities for the target device that is currently connected to the debugger.


Displays the captured trace information from the debug agent.


Enables you to view and edit variables associated with the selected stack frame.

Remote Systems views
Remote Scratchpad

Enables you to copy and paste or drag and drop local resources to an electronic clipboard for use at a later point in time.

Remote Systems

Enables you to create connections and access resources on the host workstation and remote targets.


Enables you to enter shell commands directly on the target without launching any external application.

Other views can be added to a perspective but they might not be compatible with all perspectives. To add a view to a perspective:

  1. Ensure that you are in the relevant perspective.

  2. Select Window → Show View → Other... to open the Show View dialog box.

  3. Select the required view.

  4. Click OK.

For more information on the other views not listed here, use the dynamic help.

Show/hideTrim bar

Mimimized views are placed in the trim bar at the edge of the current perspective. By default the trim bar is on the right-hand margin of the perspective but you can drag and drop it to another location if you prefer. In the trim bar, you can double click on a view to restore it or click on the restore icon to restore all the minimized views.

Figure 13. Minimized views in the trim area

Minimized views in the trim area

Show/hideFast view bar

Fast views are hidden views that can be accessed quickly from the fast view bar but do not take up space in the current perspective. When you select a fast view it opens in the current perspective but hides again when it loses focus. By default the fast view bar is located at the bottom margin of the current perspective but you can drag and drop it to another location if you prefer.

Figure 14. Fast view bar

Fast view bar

To add a view to the fast view bar then right-click on a view tab and select Fast View from the context menu.

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0480F