This method of the IRemoteMethodField interface has been superseded by IMethodLocation::ClearBreakpoint. New debuggers should call that method instead.
The ClearBreakpoint method clears a code breakpoint at a given bytecode offset from the start of this method. IRemoteMethodField::ClearBreakpoint only clears code breakpoints set by IRemoteMethodField::SetBreakpoint.
HRESULT ClearBreakpoint(ULONG offPC)
[in] offPC | The bytecode offset within this method at which to clear a code breakpoint. |
S_OK The code breakpoint was cleared.
E_FAIL No code breakpoint was set at the given bytecode offset in this method.
If a code breakpoint is set multiple times, it must be cleared the same number of times to completely eliminate it.