Specifying Source Directories

The debugger assumes that all source files are stored in the same directory as they were at compile time. If the source files are in different directories, you need to specify these directories by using the Directories tab of the Source Directories dialog box. Otherwise, the debugger cannot open the source files.

To specify source directories:

  1. Click Options > Source Directories...
  2. Click the Add New… button.

    The Add New Source Directory dialog box appears.

  3. Enter the directory including your source files in the Directory field or click the Browse button to browse for a directory.
  4. Click OK.

Note iconNote

The new directory path is added to the Source Directories list. If the debugger is not able to locate a source file, for example, if you select a module in the Source Files window but the corresponding file is not located in the directory specified in the symbol file, a File Open dialog opens, requesting the path to this missing file. Select the missing file, and the debugger automatically adds the directory in which it found the file to the source directories list.

Tip iconTip

If you want to modify a source directory, select it and click the Modify button.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.