Compartilhar via


IDebugPendingBreakpoint2::Bind

Binds this pending breakpoint to one or more code locations.

HRESULT Bind( 
   void 
);
int Bind();

Return Value

If successful, returns S_OK; otherwise, returns an error code. Returns E_BP_DELETED if the breakpoint has been deleted.

Remarks

When this method is called, a debug engine (DE) should attempt to bind this pending breakpoint to all code locations that match.

After this method returns, the caller needs to wait for events indicating that the pending breakpoint has bound or is in error before assuming that calls to the IDebugPendingBreakpoint2::EnumBoundBreakpoints or IDebugPendingBreakpoint2::EnumErrorBreakpoints.methods will enumerate all bound or error breakpoints, respectively.

See Also

Reference

IDebugPendingBreakpoint2

IDebugBreakpointBoundEvent2

IDebugBreakpointErrorEvent2

IDebugPendingBreakpoint2::EnumBoundBreakpoints

IDebugPendingBreakpoint2::EnumErrorBreakpoints