Filters that are created on-the-fly are not included in the Filters list on the Overview page by default. In order for the filter to be included in the list, it has to be saved using the Save filter button. This will bring up the Save Filter window, which can be used to assign a name to the filter and define how it should be saved. The filter can be saved in:
Default filters
The filter will be available in all
sessions.
Profiler project: <Project name>
The filter will be
available in all sessions that are included in the project.
Current session
The filter will only be available in the
current session.
The filters list can be managed by using the Manage filters
command. This will bring up a window where
you can remove filters, add predefined filters, or reset the filters list to the
default. It also provides the possibility to change the location of the filters
issues, e.g. change Current session to Default filters.
The top part of this window is a table containing the current filters. The actual filters included depend on the Show filters setting (see below).
The following information is presented in the ignored issues table:
Filter
This column shows the name of the filter.
Saved in
This column shows where the filter is stored. This is
the only column that can be modified. To change the location used the dropdown
list to select any of: Session: <session name>,
Project: <project name>,or Default filters.
Show ignored issues
This dropdown list defines what filters should be presented in the filters table. The available options are:
(All filters)
This option will include all filters in all
loaded or active sessions, all issues in all loaded profiler projects, and the
default ignored issues.
(Combined session filters)
This option will include all filters
that will be included in the current session. It is a combination of the filters
in the current session, the filters in the associated project, and the default
filters.
Default filters
This option will only include the filters that
are included in all sessions.
Session: <session name>
This option will only include
filters from the selected session. There will be one session item available for
each loaded or active session.
Project: <project name>
This option will only include
filters in the selected profiler project. There will be one project item
available for each loaded project.
Remove filter(s)
This button is used to remove the filters selected in the filters table.
Reset to default filters
This button is used to remove any user modifications of the filters, and restore the filters from the .NET Memory Profiler installation.
Add predefined filters
The Add predefined filters list used to add additional predefined filters to the filters list, or to re-add a previously removed pre-defined filter. To add predefined filters, select one or more filters to add, use the Add filter to drop-down list to select where the filter should be stored, and the click the Add filters button. For more information about the predefined filters, see Predefined Filters.