Debugging an Executable
See Also
You can debug an executable that is not associated with a project.
To debug an executable:
- Choose Debug > Debug Executable.
- In the Debug Executable dialog box, select the local host or a remote host from the Host drop-down list.
To add a new remote host, click Hosts and define the new host in the
Remote Host Settings dialog box.
- Type the full path to the
executable in the Executable text field, or click the browse button and
navigate to the executable in the Select Executable dialog box. When you
have specified the executable, the Working Directory text field is
automatically filled in with the directory where the executable is located.
- By default, the Project text field displays either <no project>
or the name of an existing project that exactly matches the name of the
executable. If you want a different project associated with this executable,
select a project from the Project drop-down list. If you do not want
the executable associated with a project, select <no project> If you want a new project
created for the executable, select <create new project>.
If you create a new project for your executable, only the executable is stored in the
project properties. You need to set the other project
properties by right-clicking the project in the Projects window and choosing Project
Properties.
- Type any run arguments or environment variable settings for the
executable in the Arguments and Environment Text Fields. These settings
are not stored in the project properties if you created a new project
for your executable.
- Click Debug.
Legal Notices