IDebugPendingBreakpoint2
This interface represents a breakpoint that is ready to bind to a code location.
IDebugPendingBreakpoint2 : IUnknown
Notes for Implementers
The debug engine (DE) implements this interface as part of its support for breakpoints.
Notes for Callers
A call to IDebugEngine2::CreatePendingBreakpoint creates a pending breakpoint from an IDebugBreakpointRequest2 interface. A call to IDebugPendingBreakpoint2::Bind creates an IDebugBreakpoint2 interface that represents a bound breakpoint in the program.
Methods in Vtable Order
The following table shows the methods of IDebugPendingBreakpoint2.
Method |
Description |
---|---|
Determines whether this pending breakpoint can bind to a code location. |
|
Binds this pending breakpoint to one or more code locations. |
|
Gets the state of this pending breakpoint. |
|
Gets the breakpoint request that was used to create this pending breakpoint. |
|
Toggles the virtualized state of this pending breakpoint. |
|
Toggles the enabled state of this pending breakpoint. |
|
Sets or changes the condition associated with this pending breakpoint. |
|
Sets or changes the pass count associated with this pending breakpoint. |
|
Enumerates all breakpoints bound from this pending breakpoint. |
|
Enumerates all error breakpoints that resulted from this pending breakpoint. |
|
Deletes this pending breakpoint and all breakpoints bound from it. |
Remarks
IDebugPendingBreakpoint2 can be thought of as a provider of all the necessary information needed to bind a breakpoint to code that can be applied to one or many programs.
A pending breakpoint can potentially produce more than one bound breakpoint. For example, a breakpoint in a C++-style template could produce a bound breakpoint for each unique instance of that template.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll
See Also
Reference
IDebugEngine2::CreatePendingBreakpoint
IDebugBreakpointBoundEvent2::GetPendingBreakpoint