Quantcast
Channel: C#
Viewing all articles
Browse latest Browse all 1853

Managing Suppression Rules

$
0
0

You can manage the suppression rules applied to each project during Intel Inspector analysis by:

Note

To apply suppression rules during analysis, select the Apply Suppressions radio button on the Target tab of the Project Properties dialog box.

Open the Suppressions Tab of the Project Properties Dialog Box

  1. From the:

    • Visual Studio* menu, choose Project> Intel Inspector <version> Project Properties....

    • Standalone Intel Inspector GUI menu, choose File> Project Properties....

  2. In the Project Properties dialog box, choose the Suppressions tab.

Add a .sup File

  1. Click the Add File button.

  2. Browse to and choose a .sup file.

  3. Click the Open button.

Outcome: The Intel Inspector updates the rules in the Suppression rule list region accordingly.

Add a Directory That Contains (or Will Contain) .sup Files

  1. Click the Add Directory button.

  2. Do one of the following:

    • Browse to and choose an existing directory.

    • Create a new directory to which you plan to save .sup files.

  3. Click the OK button.

Outcome: The Intel Inspector:

  • Displays the path to a *.sup file mask in the Suppression files region.

  • Updates the rules in the Suppression rule list region accordingly.

Note

Intel Inspector does not search recursively in directories for files identified by a *.sup mask.

Remove a .sup File or Directory Containing .sup Files

  1. Click a file or mask in the Suppression files region.

  2. Click the Remove button directly below the Suppressions files region.

Outcome: The Intel Inspector updates the rules in the Suppression rule list region accordingly.

Note

  • Removing a file or directory does not delete the file or directory from your file system.

  • You cannot remove the project suppression directory.

Remove a Specific Rule

  1. Click a rule in the Suppression rule list region.

  2. If desired, click the View... button to view the stack/traceback frame(s) in the rule. When you are finished viewing, close the View Stack dialog box.

  3. Click the Remove button directly below the Suppression rule list region.

Caution

Removing a rule from the list deletes the rule from your file system.

Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>