Filtering Data by Function

Related Topics

 

1.           Open the Filter Manager dialog box.

2.           Select the Functions or Procedures or Methods tab, depending on the type of program you're monitoring.

3.           Select the function whose data you want to filter.

4.           Click the selected function's checkbox to enable the filter.

5.           Specify whether to distinguish between uppercase and lowercase letters when filtering the selected function.

Notes:

§                  By default, PureCoverage filters functions containing certain pattern strings. To add a pattern, type a pattern string and click Add. You can use an asterisk (*) to denote a character string of any length; use a backslash with the asterisk (\*) if the function name itself contains an asterisk and use two backslashes (\\) if the function name contains a backslash. For example:

 

This pattern

Matches any function whose name

CWnd::*

Begins with CWnd:: and is followed by any string

*chr

Ends in chr

*str*

Contains str

§                  The pattern is always matched against the full function name, regardless of the settings in the Function Name, Procedure Name, or Method Name dialog box.

§                  To edit a filter in place, click the selected function or right-click the selected function and select Rename from the shortcut menu.

§                  To disable a filter, click the selected function's checkbox. When you click OK, PureCoverage redisplays the functions. You can also delete a selected function by clicking Remove.

§                  Click Save Settings to save any changes you made to filters. PureCoverage saves the filters you create to the PureCoverage filter file (.cft).

§                  Warning: Using these options you could accidentally hide all data from the data coverage windows. To avoid this situation, PureCoverage reapplies your previous filters. If an Annotated Source window is open for a file and you filter all the functions in that file, PureCoverage closes the window.

§                  Right-click a selected function to display a shortcut menu for working with the filter.

(C) Copyright IBM Corporation 1993, 2010.