Microsoft SDK for Java

IRemoteMethodField::
ClearBreakpoint

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.

Syntax

HRESULT ClearBreakpoint(ULONG offPC)

Parameters

[in] offPC The bytecode offset within this method at which to clear a code breakpoint.

Return Value

S_OK The code breakpoint was cleared.

E_FAIL No code breakpoint was set at the given bytecode offset in this method.

Remarks

If a code breakpoint is set multiple times, it must be cleared the same number of times to completely eliminate it.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.