Share via


IDebugErrorBreakpoint2

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

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 IDebugBreakpointErrorEvent2::GetErrorBreakpoint obtains this interface. This interface can also be returned (as part of a list represented by an IEnumDebugErrorBreakpoints2 interface) by a call to IDebugPendingBreakpoint2::CanBind or IDebugPendingBreakpoint2::EnumErrorBreakpoints.

Methods in Vtable Order

The following table shows the methods of IDebugErrorBreakpoint2.

Method

Description

IDebugErrorBreakpoint2::GetPendingBreakpoint

Gets the pending breakpoint that caused the error.

IDebugErrorBreakpoint2::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

Reference

IDebugBreakpointErrorEvent2

IDebugBreakpointErrorEvent2::GetErrorBreakpoint

IEnumDebugErrorBreakpoints2

IEnumDebugErrorBreakpoints2::Next

IDebugPendingBreakpoint2

IDebugErrorBreakpointResolution2