Specifying Source Path Substitution Rules

The debugger assumes that all source files are stored in the same directory as they were at compile time. If the sources are placed in different directories, you can add a source path substitution rule using the Rules tab of the Source Directories dialog box. This rule replaces the source directory paths automatically.

You need to specify a source path substitution rule if you can access source files from a path other than that of the compilation environment.

To specify a new source path substitution rule:

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

    The New Source Path Substitution Rule dialog box opens.

  4. Enter the path to be replaced into the Replace field.
  5. Enter the new path into theby field .

    This path is typically an absolute path on the local system.

    Alternatively, you can click the Browse button to browse for a directory.

  6. Click OK.

The old and the new source directories are displayed.

Note iconNote

To modify a source path substitution rule, select it and click the Modify… button.

See Also


Submit feedback on this help topic

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