Поделиться через


How to: Specify a Breakpoint Filter

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic does not apply Topic applies Topic does not apply

Pro, Premium, and Ultimate

Topic applies

Topic applies

Topic applies

Topic applies

Topic applies

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

  1. 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.

  2. Click OK.

See Also

Other Resources

Breakpoints and Tracepoints