Restricting breakpoints to selected targets and threads

You can restrict a breakpoint to one or more threads of a target. This process allows you to work on selected threads of a target.

To restrict a breakpoint to one or more process threads:

  1. Select the Breakpoints view.
  2. Right-click on the breakpoint you want to restrict, and choose Breakpoint Properties from the shortcut menu.

    The Properties for C/C++ Breakpoint dialog appears.

  3. In the left pane, select Filtering. The Filtering option is available during a debug session.
    Figure 1. Restrict breakpoint to selected targets and threads

    Restrict Breakpoint to Selected Targets & Threads

  4. From the Restrict to Selected Targets and Threads list, select the checkboxes adjacent to threads you want to restrict the breakpoint.
  5. Click OK.

The breakpoint is applied to the selected targets and threads.