共用方式為


IDebugBoundBreakpoint2

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 a breakpoint that is bound to a code location.

Syntax

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 Bind creates this interface. Calls to GetBreakpoint and Next can also obtain This interface.

Methods in Vtable Order

The following table shows the methods of IDebugBoundBreakpoint2.

Method Description
GetPendingBreakpoint Gets the pending breakpoint from which the specified bound breakpoint was created.
GetState Gets the state of this bound breakpoint.
GetHitCount Gets the current hit count for this bound breakpoint.
GetBreakpointResolution Gets the breakpoint resolution that describes this breakpoint.
Enable Enables or disables the breakpoint.
SetHitCount Sets the hit count for this bound breakpoint.
SetCondition Sets or changes the condition associated with this bound breakpoint.
SetPassCount Sets or change the pass count associated with this bound breakpoint.
Delete Deletes the breakpoint.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also