Enable Filter

If the Enable Filter option is selected on the Sequence Diagram Recording tab, the debugger excludes calls to matching methods from the generated sequence history and diagram. The comparison is case-sensitive.

To add a value, click on the New (Insert) icon in the right corner of the Filters box, and type in the comparison string. Each filter string takes the form:

 

class_name_token::method_name_token

 

The class_name_token excludes calls to all methods of a Class or Classes having a name that matches the token. The string can contain the wildcard character * (asterisk). The token is optional.

The method_name_token excludes calls to methods having a name that matches token. The string can contain the wildcard character *. The token is optional.

Where no Class token is present, the filter is applied only to global or public functions; that is, methods not belonging to any Class.

To Filter

Use Filter Entry

All public functions having a name beginning with Get from the recording session (GetClientRect for example in Windows API).

 
::Get*

All methods beginning with Get for every Class member method.

 
*::Get*
 

All methods beginning with Get from the Class CClass.

 
CClass::Get*
 

All methods for Class CClass.

 
CClass::*
 

All methods for Classes belonging to Standard Template and Active Template Libraries.

 

  • ATL*
  • std*
     

The specific method GetName for Class CClass.

 
CClass::GetName
 

 

In the Java example in the screen below, the debugger would exclude:

  • Calls to the OnDraw method for the Class Example.common.draw.DrawPane
  • Calls to any method of any Class having a name beginning with Example.source.Collection
  • Calls to any constructor for any Class (ie: <clint> and <init>).

java_filters

In the Native code example below, the debugger would exclude:

  • Calls made to Standard Template Library namespace
  • Calls to any Class beginning with TOb
  • Calls to any method of Class CLock
  • Calls to any Global or Public Function with a name beginning with Get
  • Calls to the method GetLocation for Class Ctrain.

Filters_Native