INFO: Filtering by Source, Category, and Event with Visual Studio Analyzer (242408)



The information in this article applies to:

  • Microsoft Visual Studio, Enterprise Edition 6.0

This article was previously published under Q242408

SUMMARY

To work with Visual Studio Analyzer filters, you use the Filter Editor dialog box, which contains both a graphical and a textual interface. You can build most filters by using the graphical interface. However, some complex filters, such as those that use comparison operators, cannot be represented using the graphical interface. You must build these filters by using the textual interface, accessible from the Edit Text button in the Filter Editor dialog box.

MORE INFORMATION

When using the textual interface to create your filter, the comparison values that you specify must generally be enclosed in quotes. This is true regardless of the type (DWORD, String, or GUID). There are, however, three exceptions to this rule. The following fields do not require that the GUID value be enclosed in quotes:
  • Source
  • Category
  • Event
For example: (Event = {6c736d61-BCBF-11D0-8A23-00AA00B58E10})


NOTE: Category and Event may also be filtered by their visible name. For example: (Event = "My Custom Event")

REFERENCES

MSDN Library: Visual Studio 6.0 Documentation; Component, Design, and Analysis Tools; Visual Studio Analyzer Reference; Visual Studio Analyzer Concepts; Using the Visual Studio Analyzer Tools; Understanding Visual Studio Analyzer Filters

MSDN Library: Visual Studio 6.0 Documentation; Component, Design, and Analysis Tools; Visual Studio Analyzer Reference; Visual Studio Analyzer Common Tasks; Creating and Refining Visual Studio Analyzer Filters


For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

242326 BUG: Visual Studio Analyzer Does Not Filter by Source Field

242298 INFO: Valid Filter Fields for Visual Studio Analyzer


Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbEEdition kbinfo kbVSVisAnalyzer KB242408