| | | | Browse by category |
If your program allocates a large number of blocks, the information contained within the Memory Debugger's views can be overwhelming. In addition, memory allocations can come from different libraries and different parts of your program. Beginning with TotalView 6.7, you can control how much view information the Memory Debugger displays by applying filters.
To create or edit a filter, select Manage Filters.
The Memory Debugger responds by displaying its Data Filters dialog box. To create a new filter, press the Add button. To change an existing filter, select the filter, then press the Edit button. The following figure shows the Data Filters and the Edit Filter Dialog Box (which is the same as the Add Filter Dialog Box):
The way in which you create a filter is similar to the way in which you create a filter within the Mozilla or Thunderbird mail systems.
- Within the Add Filter or Edit Filter Dialog Boxes, select the Add button to add a new condition line.
- Use the pulldown lists in the first and second columns of the newly added line to select what action you want to occur.
- Finally, enter what you want filtered in the third column.
Notice that you can change the order in which the Memory Debugger will apply a condition. While changing the order shouldn't change the result, you would want to move a condition that removes the most information higher in the list.
Here are the values you can select in the first two columns:
Property
The object that the Memory Debugger will look for:
Process/Library Name
Source File Name
Class Name
Function Name
Line Number
Size (bytes)
Count
PC
Backtrace ID
Allocator
Interface Owner
Operator
The operator indicates the relationship the value has to the property. Select one of the items from the pulldown list. If the property you've selected is a string, the Memory Debugger displays the following list:
contains
not contains
starts with
ends with
equals
not equals
If the item is numeric, it displays the following list:
<=
<
=
!=
>
>=