Microsoft SDK for Java

IMethodLocation::
ClearBreakpoint

The ClearBreakpoint method of the IMethodLocation interface clears a code breakpoint at this method location that was previously set by IMethodLocation::SetBreakpoint.

Syntax

HRESULT ClearBreakpoint(void)

Return Value

S_OK The code breakpoint was cleared and is no longer in effect.

S_FALSE The code breakpoint was partially cleared, but is still in effect due to outstanding SetBreakpoint calls.

E_FAIL No code breakpoint was set at this method location.

Remarks

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

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