共用方式為


IDebugErrorBreakpoint2

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 represents an error or warning breakpoint, such as an invalid location, an invalid expression, or the reasons why the pending breakpoint has not bound (code not loaded yet, and so on).

Syntax

IDebugErrorBreakpoint2 : IUnknown

Notes for Implementers

A debug engine implements this interface as part of its support for breakpoints. This interface is used to report problems with binding a breakpoint.

Notes for Callers

A call to GetErrorBreakpoint obtains this interface. This interface can also be returned (as part of a list represented by an IEnumDebugErrorBreakpoints2 interface) by a call to CanBind or EnumErrorBreakpoints.

Methods in Vtable Order

The following table shows the methods of IDebugErrorBreakpoint2.

Method Description
GetPendingBreakpoint Gets the pending breakpoint that caused the error.
GetBreakpointResolution Gets the breakpoint error resolution that describes the error.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also