The SetBreakpoint method of the IMethodLocation interface sets a code breakpoint at this method location. If the code breakpoint is hit, the Microsoft VM will call the debugger’s IRemoteProcessCallbackEx2::CodeBreakpointEventEx method.
HRESULT SetBreakpoint(void)
S_OK Success.
E_INVALIDPC This is not a location at which a code breakpoint will ever be hit.
E_OUTOFMEMORY Insufficient memory.