共用方式為


IEnumDebugErrorBreakpoints2

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 error breakpoints associated with a pending breakpoint.

Syntax

IEnumDebugErrorBreakpoints2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface as part of its support for breakpoints.

Notes for Callers

Visual Studio calls CanBind to obtain this interface representing a list of breakpoints that cannot be bound, or EnumErrorBreakpoints to obtain this interface representing a list of breakpoints that were not bound.

Methods in Vtable Order

The following table shows the methods of IEnumDebugErrorBreakpoints2.

Method Description
Next Retrieves a specified number of error breakpoints in an enumeration sequence.
Skip Skips a specified number of error 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 error breakpoints in an enumerator.

Remarks

This interface holds a list of IDebugErrorBreakpoint2 interfaces, each of which describes a breakpoint that could not be bound and why it could not be bound. Visual Studio uses the IEnumDebugErrorBreakpoint2 interface to update the breakpoints shown in the IDE.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also