IDebugPendingBreakpoint2::Bind

Binds this pending breakpoint to one or more code locations.

Syntax

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 EnumBoundBreakpoints or EnumErrorBreakpoints.methods will enumerate all bound or error breakpoints, respectively.

See also