Source Directories Dialog Box: Rules Tab

Create rules to replace source file path information specified by the symbol file.

The debugger assumes that all source files of the debuggee 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.

Menu

Options > Source Directories...

Toolbar

Not available.

Add new

The Add New button opens the New Source Path Substitution Rule dialog box. Use this dialog box to add a new source path substitution rule.

Replace / by

Enter the string of the path to be replaced into the Replace field and the new token that replaces the old path into the field by. You can also browse for a substitution directory.

Modify

The Modify button opens the Modify Source Path Substitution Rule dialog box. Use this dialog box to change an existing rule.

Replace / by

Edit the string of the path to be replaced in the Replace field and the token that replaces the old path into the field by. You can also browse for a substitution directory.

Delete

Click the Delete button to delete the selected rule.

Note iconNote

If the debugger is not able to locate a source file, the File Open dialog box opens requesting the path to this missing file. When you select the missing file, the debugger automatically adds a source path substitution rule that is used to locate other files. This might happen, 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.

See Also


Submit feedback on this help topic

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