Debugging Memory Problems with MemoryScape : Chapter 2 Memory Tasks : Task 10: Filtering Reports : Adding, Deleting, Enabling and Disabling Filters

Adding, Deleting, Enabling and Disabling Filters
Right-clicking on a routine name or line number in the top pane of a Leak Detection or Heap Status Source or Backtrace report or in a Heap Status Graphical report tells MemoryScape to display a context menu from which you can select Filter out this entry.
 
This command adds the routine to those that can be filtered. It does not enable filtering. Enabling is done by selecting the Enable Filtering check box that is in the command area of many screens.
To apply the filter, you’ll need to select Manage Filters, which is in the Operations area on the left side of the screen. Figure 66 shows the dialog box MemoryScape displays.
 
The controls in this dialog box are as follows:
Enable/Disable
When checked, MemoryScape enables the filter.
Add
After clicking this button, MemoryScape displays the Add Filter dialog box. Using that dialog box, you can define one filter. That dialog box is discussed later in this section.
Edit
Displays a dialog box that allows you to change the selected filter’s definition. The displayed Edit Filter dialog box is identical to the Add Filter dialog box.
Remove
Deletes the selected filter.
Up and Down
Moves a filter up or down in the filter list. As MemoryScape applies filters in the order in which they appear in this list, you should place filters that remove the most entries at the top of the list. As filtering can be a time-consuming operation, the right order can increase performance.
Enable All
Enables (checks) all filters in the list.
Disable All
Disables (unchecks) all filters in the list.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com