Specifying the location of source files
You can specify the locations of source files used when debugging a C or C++
application. By default, this information is taken from your project.
To specify the locations of source files:
- In the C/C++ Projects view, select a project.
- Click Run > Run or Run > Debug.
- In the Configurations box, expand C/C++ Local.
- Select a run or debug configuration.
- Click the Source tab.
- To add a source container to the source locations list:
- Click Add to open the Add Source dialog box
- Select a container type.
- Select a container from the list of available containers of the selected type.
- You can remove or modify a source container by selecting a container and clicking the Remove or Edit button.
- You can change the order of source containers by selecting a container and clicking
the Up or Down buttons.
- To search for duplications in your source locations select the Search for duplicate source files on the path checkbox.
CDT Projects
Project file views
Creating or editing a run configuration
Run and Debug dialog box