共用方式為


IEnumDebugBoundBreakpoints2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface enumerates the bound breakpoints associated with a pending breakpoint or breakpoint bound event.

Syntax

IEnumDebugBoundBreakpoints2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface as part of its support for breakpoints. This interface must be implemented if breakpoints are supported.

Notes for Callers

Visual Studio calls:

  • EnumBreakpoints to obtain this interface representing a list of all breakpoints that were triggered.

  • EnumBoundBreakpoints to obtain this interface representing a list of all breakpoints that were bound.

  • EnumBoundBreakpoints to obtain this interface representing a list of all breakpoints bound to that pending breakpoint.

Methods in Vtable Order

The following table shows the methods of IEnumDebugBoundBreakpoints2.

Method Description
Next Retrieves a specified number of bound breakpoints in an enumeration sequence.
Skip Skips a specified number of bound breakpoints in an enumeration sequence.
Reset Resets an enumeration sequence to the beginning.
Clone Creates an enumerator that contains the same enumeration state as the current enumerator.
GetCount Gets the number of bound breakpoints in an enumerator.

Remarks

Visual Studio uses the bound breakpoints represented by this interface to update the display of breakpoints in the IDE.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also