Saving Filters

Related Topics

 

1.           Select the run whose data you want to filter. To select a run, click a coverage window for the run, or double-click the run in the Navigator.

2.           Open the Filter Manager dialog box.

3.           Add, remove, or edit filters in the Modules tab, Files tab, or Functions or Procedures or Methods tab.

4.           Click Save Settings.

Notes:

§                  If you are working with a saved .cfy dataset, you cannot save new or changed filters with the dataset.

§                  When you create and save new filters for a program, PureCoverage saves the filters in the filter file <exename>_exe.cft. The filters in this file apply to all runs of the program <exename>, unless you disable them in the Filter Manager dialog box.

§                  If you create, edit, and apply filters, and then want to use your previously saved filters, click Revert to Saved, and then click Save Settings again to save it for future runs. If you want to use the PureCoverage global filters again, click Reset to Default, and then click Save Settings again to save it for future runs.

§                  The filter file Coveragew_exe.cft contains global filters PureCoverage uses to hide non-critical data from system libraries and other modules before it displays a program's coverage data. These filters are different depending on whether you are monitoring a Visual C++ program, Visual Basic program, or Java code.

§                  For details about filter file names and their locations, click images\shortcut.gif.

§                  When you save data from a run in a PureCoverage data file (.cfy), any filters that are in effect are saved as an integral part of the data file. After you save a run, you can modify the filter set, but PureCoverage does not automatically save the new filters when you close the file or warn you about unsaved changes. To save the file with the new filters, click images\save.gif before you close the file.

(C) Copyright IBM Corporation 1993, 2010.