1. Open the Preferences dialog box.
2. Select the Source Code tab.
3. Select how you want Purify to display Visual C++ function names, argument lists, and instruction pointers and offsets in message output.
4. Select whether to display a confirmation dialog box when you have updated source files.
5. Type or select the number of spaces you want Purify to use for each tab character when displaying source code.
6. Type or select how many lines of source code you want Purify to display above and below each error line in an Error View.
7. Specify the editor or viewer you want Purify to start when you double-click source code in an Error View.
8. In the Source Path Substitutions field, specify the source path substitutions for PureCoverage to apply when searching for source code to display in the Annotated Source window. Use the format:
<OriginalPath1>|<NewPath1>[;<OriginalPath2>|<NewPath2>; . . .<OriginalPathx>|<NewPathx>]
Notes:
§ If you are using Purify integrated in Visual Studio, Purify always uses the Visual Studio editor to display source code.
§ If you do not associate an editor, but you select Use the following editor, Purify launches Notepad.
§ If you select Use Purify source viewer, Purify uses its own Purify viewer window to display source code. This option is available only in the standalone Purify interface.
§ Purify saves preferences in the Purify.ini file.
(C) Copyright IBM Corporation 1992, 2010.