Viewing UNIX Coverage Data in Purify for Windows

Related Topics

If PureCoverage is installed on your Windows system, you can collect PureCoverage data on your UNIX system and view it in Purify for Windows.

About PureCoverage data files created on UNIX

By default, PureCoverage names data files created on UNIX as follows:

<program name>.<process ID>.<sequence number>.cfy 

The <process ID> distinguishes between different runs of the program. The <sequence number> distinguishes between data files saved during a single run.

For information about saving UNIX coverage data in a PureCoverage data file (.cfy) file for viewing on Windows, refer to the PureCoverage for UNIX online Help.

Viewing UNIX data files and source files on Windows

To view UNIX PureCoverage data files and source files, you must make them available on your Windows system. Do this by copying files manually to your Windows system or by using a file system shared on UNIX and Windows.

To view annotated source, you must also make sure that Purify for Windows can find your source files. PureCoverage records pathnames in the data files, but the UNIX pathnames cannot be resolved on Windows without intervention. To resolve the pathnames, do any of the following:

§          Browse to the source file in the Select Directory for <filename> dialog box.

§          Specify source path substitutions in the Preferences dialog box or the Select Directory for <filename> dialog box. For example, if your UNIX source files are in the directory tree beginning /people/pat/current, and you consistently map /people/pat to drive F: on your Windows system, you can specify the substitution:
/people/pat|F:\

With this substitution, any UNIX pathname beginning with /people/pat is handled in Windows as if it began instead with F:\; for example, /people/pat/current becomes F:\current.

§          Use the PureCoverage substitute directive on UNIX to modify the source pathname that is recorded in PureCoverage data files when they are generated. For information, see the PureCoverage for UNIX online help. You must use this approach if you have UNIX directories to distinguish that differ only with respect to case.

Differences resulting from displaying UNIX data files

Note the following differences from typical Purify for Windows behavior when you display a data file created on UNIX:

§          Modules displayed in the coverage data windows are .o files, rather than .exe or .dll files.

§          The Run Again command in the File menu is disabled.

§          The Executable Settings command in the Settings menu is disabled.

§          Settings you make in the PowerCheck tab of the Default Settings dialog box do not apply to subsequent runs of the program on UNIX systems.

§          The Log tab of the Run Summary dialog box displays UNIX product version and command line information.

(C) Copyright IBM Corporation 1992, 2010.