To debug a standalone executable file, you need to import it to a new or existing
project in your workspace. This guide walks you through the process of importing an ELF file
into a local project.
-
Launch the Import Executable wizard: go to on the menu. In the Import dialog, click , then click Next.
-
Choose the ELF file for import:
-
Click the Browse button to browse to the ELF
file.
The Select executable field displays the full path of the
ELF file. The gray field next to the Browse
button displays the processor architecture recognized from the ELF
file.
-
In the tree of processors, point the processor and the core that are
being target in the selected ELF file.
The Description field displays the information about the
selected processor and core.
-
Click Next.
-
Choose the project for import:
-
Click the New Project Name option to create a new project for
import, specify the project name. Alternatively, click the
Existing project option to use an existing
project for import, then click Search... and pick
the project for import from the list.
-
Configure the creation of a launch configuration. If you do not need a
new launch configuration for debugging, remove the Create
Launch Configuration flag. Otherwise, specify the new
configuration name in the Launch Configuration
Name field and pick the debugger from the list.
-
(Optional) Click Browse and browse to a folder
with the source code associated with the ELF file. The folder will be
included into the Source Lookup Paths list in the
new launch configuration.
-
Click Finish.