This documentation is archived and is not being maintained.

How to: Specify a Breakpoint Filter

This topic applies to:


Visual Basic



Web Developer


Topic does not applyTopic does not applyTopic appliesTopic does not apply


Topic applies

Topic applies

Topic applies

Topic applies

Pro and Team

Topic applies

Topic applies

Topic applies

Topic applies

Table legend:

Topic applies


Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

A breakpoint filter limits the behavior of a breakpoint to specified machines, processes, and threads. Breakpoint filters can be useful when you are debugging a parallel application that is spread across multiple processors.


The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To specify a breakpoint filter

  1. In the Breakpoints window, right-click a breakpoint and choose Filter from the shortcut menu,


    In a source, Disassembly, or Call Stack, right-click a line containing a breakpoint glyph and choose Filter from Breakpoints in the shortcut menu.

    In the Breakpoint Filters dialog box, use the Filter box to specify machines by name and processes or threads by either name or ID number.

  2. Click OK.