source path substitution
A feature for directing your runtime analysis product to the source files to be used for displaying annotated source.
When data is collected, the current path to the source file is recorded in the data file. When files are moved, or when for some other reason the path cannot be resolved, you can substitute a new path for the one recorded in the data file.
The substitution applies to an entire directory tree. For example, assume that coverage data was collected from a program whose source files were in a directory tree beginning C:\project. If you are viewing the data from another computer on the network and map C:\project to your drive F:, you can specify the substitution:
C:\project|F:\
With this substitution, any pathname beginning with C:\project is handled as if it began instead with F:\; for example, C:\project\current becomes F:\current.
You can specify substitutions in the Source Code tab of the Preferences dialog box, or in the Select Directory for <filename> dialog box.
If you need source path substitutions for viewing UNIX coverage data on Windows, you can also use the PureCoverage substitute directive on UNIX to modify the source pathname that is recorded in coverage data files when they are generated. See the PureCoverage for UNIX help system for further information.
(C) Copyright IBM Corporation 1993, 2009.