1. Open the Preferences dialog box.
2. Select the Source Code tab.
3. In the Source Path Substitutions field, specify the source path substitutions for Quantify to apply when searching for source code to display in the Annotated Source window. Quantify recognizes only fully qualified pathnames in this field. Use the format:
<OriginalPath1>|<NewPath1>[;<OriginalPath2>|<NewPath2>;
. . .<OriginalPathx>|<NewPathx>]
Notes:
§ As an alternative to specifying search path substitutions, you can specify search paths for Quantify to use for locating source files. Source path substitutions apply to the entire directory tree, while a search path applies only to the directory specified. For more information, click
§ Substitutions you have specified in the Select Directory for <filename> dialog box are displayed in this field.
§ The first match that Quantify encounters in the list of substitutions is the match that is applied.
§ A substitution takes effect only if the original pathname recorded in the debug information is a fully qualified pathname. If you select a pathname in the Select Directory for <filename> dialog box and the original pathname is not fully qualified, Quantify does not perform a substitution but instead adds the pathname you select to the search path.
§ Quantify uses the following search order to locate source files:
1. The directory where the program you're monitoring is located.
2. The search path specified in the Files tab in the Settings for <exename> dialog box
3. For Visual C++ programs, the directories specified in the Visual Studio Workspace file.
4. The search path specified in the Files tab in the Default Settings dialog box.
5. For Visual C++ programs, the MFC and Visual C++ directories.
6. The PATH environment variable.
7. Source path substitutions specified in the Source Code tab of the Preferences dialog box
§ Quantify saves preferences in the Quantify.ini file.
(C) Copyright IBM Corporation 1993, 2009.