How to: Specify a Breakpoint Filter
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
|||||
Pro, Premium, and Ultimate |
A breakpoint filter limits the behavior of a breakpoint to specified computers, processes, and threads. Breakpoint filters can be useful when you are debugging a parallel application that is spread across multiple processors.
Note
The dialog boxes and menu commands you see might differ from those described in Help, depending on your active settings or edition of Visual Studio. To change your settings, on the Tools menu, click Import and Export Settings. For more information, see Working with Settings.
To specify a breakpoint filter
In the Breakpoints window, right-click a breakpoint, and then click Filter on the shortcut menu.
-or-
In a source, Disassembly, or Call Stack, right-click a line that contains a breakpoint glyph, and then select Filter from Breakpoints on the shortcut menu.
In the Breakpoint Filters dialog box, use the Filter box to specify computers by name and processes, or threads by either name or ID number.
Click OK.