共用方式為


IDebugBoundBreakpoint2

This interface represents a breakpoint that is bound to a code location.

IDebugBoundBreakpoint2 : IUnknown

Notes for Implementers

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

Notes for Callers

A call to IDebugPendingBreakpoint2::Bind creates this interface. Calls to IDebugBreakpointUnboundEvent2::GetBreakpoint and IEnumDebugBoundBreakpoints2::Next can also obtain This interface.

Methods in Vtable Order

The following table shows the methods of IDebugBoundBreakpoint2.

Method

Description

IDebugBoundBreakpoint2::GetPendingBreakpoint

Gets the pending breakpoint from which the specified bound breakpoint was created.

IDebugBoundBreakpoint2::GetState

Gets the state of this bound breakpoint.

IDebugBoundBreakpoint2::GetHitCount

Gets the current hit count for this bound breakpoint.

IDebugBoundBreakpoint2::GetBreakpointResolution

Gets the breakpoint resolution that describes this breakpoint.

IDebugBoundBreakpoint2::Enable

Enables or disables the breakpoint.

IDebugBoundBreakpoint2::SetHitCount

Sets the hit count for this bound breakpoint.

IDebugBoundBreakpoint2::SetCondition

Sets or changes the condition associated with this bound breakpoint.

IDebugBoundBreakpoint2::SetPassCount

Sets or change the pass count associated with this bound breakpoint.

IDebugBoundBreakpoint2::Delete

Deletes the breakpoint.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugBreakpointUnboundEvent2::GetBreakpoint

IEnumDebugBoundBreakpoints2::Next

IDebugPendingBreakpoint2::Bind