Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse C/C++ Developer Guide
Previous Page Home Next Page

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:

  1. In the C/C++ Projects view, select a project.
  2. Click Run > Run or Run > Debug.
  3. In the Configurations box, expand C/C++ Local.
  4. Select a run or debug configuration.
  5. Click the Source tab.
  6. 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.
  7. You can remove or modify a source container by selecting a container and clicking the Remove or Edit button.
  8. You can change the order of source containers by selecting a container and clicking the Up or Down buttons.
  9. To search for duplications in your source locations select the Search for duplicate source files on the path checkbox.

Related concepts
CDT Projects
Project file views

Related tasks
Creating or editing a run configuration

Related reference
Run and Debug dialog box

IBM Copyright Statement

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire