How to: Specify a Breakpoint Filter
This topic applies to:
Visual Studio Edition |
Visual Basic |
C# |
C++ |
J# |
Express |
No |
No |
Yes |
No |
Standard |
Yes |
Yes |
Yes |
Yes |
Pro/Team |
Yes |
Yes |
Yes |
Yes |
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.
Note |
---|
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
In the Breakpoints window, right-click a breakpoint and choose Filter from the shortcut menu,
—or—
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.
Click OK.