# Executables view

The Executables view provides a dynamic list of executables and their related source files. The Executables view makes it easy to:

- target all binaries for debugging because the symbolics are automatically loaded when a bld.inf is imported or a project is created from a template
- debug a binary that is not part of a project in the workspace by importing it into the Executables view to load the symbolics
- debug a process running on a device by attaching to the process and importing the binaries associated with the process into the Executables view to load the symbolics. For example, you to debug a library loaded by the process, you would need to import the libary and the process executable.
- remove binaries when a project is closed or deleted from the workspace
- remove binaries imported from outside the workspace by deleting the binary from the Executables project in the Project Explorer view
- locate and manage which source and resource files are associated with each executable. Paths shown in black text have been resolved, those in gray text cannot be found.
- identify and correct any path issues with missing source files (shown in gray text). Double-click the missing source file to open a Locate File editor view which enables you to find the missing file.
- view routines and header files used by the source file. Click the tree control to expand or collapse a list of included header files and routine names for fast navigation.
- find and set breakpoints, watchpoints, and eventpoints in source files. Double-click a source file to open it in an editor view and to review the status of its breakpoints.

In addition, an Executables project is created in the Project Explorer view. The binaries shown in the Executables project can be deleted which also removes them from the Executables view. For binaries outside the workspace you must import them into the Executables view so their symbolics can be used during the debug session. You can also drag and drop executables into the view.

The Executables view consists of the Executable Name and Source File Name panes described in the table below. Use the Columns button in the toolbar to show or hide specific columns in each pane. Columns can be sorted and rearranged in the order desired.

Executables View Options
Pane | Explanation
--- | ---
Executable Name | Displays a list of executables in the workspace as well as other files added by the user. Select an executable to update the Source File Name pane with related files. The executable information shown can include:

- Executable Name - (default) Name of the executable file.
- Executable Project - (default) The project associated with the executable.
- Executable Location - (default) The current location of the executable.
- Executable Size - The executable size shown in bytes.
- Executable Date - The source file's modification date.
- Executable Type - The executable type (.exe, etc.)

Click the Columns icon () to set which columns to show in this pane.

Source File Name | Displays a list of source files for the selected executable as extracted from the symbol table. The source file information shown can include:

- Source File Name - (default) Name of the source file used by the executable. If no binary files are in the project the message No source files found in <project_name> is shown.
- Source File Location - (default) The current location of the source file. If the path is shown in gray text the source file was not located. To locate it, double-click to open a new editor, then click Locate File... to locate the missing file. The new path is compared to the old one and all files located in the same directory are automatically updated to use the new path.
- Source File Original Location - (default) The original location of the source file which may be different than the current location.
- Source File Size - The source file size shown in bytes.
- Source File Date - The source file's modification date.
- Source File Type - The source type (.h, .inc, etc.)
- Missing Source Files - Gray text indicates files not found. Double-click the file to browse for the missing file.

Expand a file's tree control to view the functions and header files used by the file. Double-click to open the source file for editing or to set breakpoints.

Click the Columns icon () to set which columns to show in this pane.

## Executables view toolbar icons

The table below lists the unique icons displayed in the Executables view toolbar.

Executables View Toolbar Options
Command | Name | Description
--- | --- | ---
| Refresh the list of executables | Click to refresh the executables list.
| Import an executable file | Click to import an executable not in the workspace into the executables list.
| Remove the selected executables | Click to remove the selected executables from the executables list.
| Columns | Opens the Configure Columns dialog for configuring which columns appear in the Executable and Source File panes.

Views