IDebugControl2::RemoveBreakpoint method (dbgeng.h)
The RemoveBreakpoint method removes a breakpoint.
C++
HRESULT RemoveBreakpoint(
[in] PDEBUG_BREAKPOINT Bp
);
[in] Bp
Specifies an interface pointer to breakpoint to remove.
Return code | Description |
---|---|
|
The method was successful. |
This method may also return other error values. See Return Values for more details.
After RemoveBreakpoint and RemoveBreakpoint2 are called, the breakpoint object specified in the Bp parameter must not be used again.
Note Even though IDebugBreakpoint extends the COM interface IUnknown, the lifetime of the breakpoint is not controlled using the IUnknown interface. Instead, the breakpoint is deleted after RemoveBreakpoint and RemoveBreakpoint2 are called.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |