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 Purify to apply when searching for source code to display in the Annotated Source window. Use the format:
<OriginalPath1>|<NewPath1>[;<OriginalPath2>|<NewPath2>; . . .<OriginalPathx>|<NewPathx>]
Notes:
§ As an alternative to specifying search path substitutions, you can specify search paths for Purify 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 search for original paths is not case-sensitive. If you have search paths on UNIX that are different only in case, Purify cannot distinguish between them. Use the substitute directive on UNIX to handle these cases; refer to the Purify for UNIX online help for information.
§ Purify 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.
(C) Copyright IBM Corporation 1992, 2010.