Partager via


ICorDebugProcess2::ClearUnmanagedBreakpoint Method

Removes a previously-set breakpoint at the given address.

HRESULT ClearUnmanagedBreakpoint (
    [in] CORDB_ADDRESS             address
);

Parameters

Parameter Description

address

[in] A CORDB_ADDRESS value that specifies the address at which the breakpoint was set.

Remarks

The specified breakpoint would have been previously set by an earlier call to ICorDebugProcess2::SetUnmanagedBreakpoint Method.

The ClearUnmanagedBreakpoint method can be called while the process being debugged is running.

The ClearUnmanagedBreakpoint method returns a failure code if the debugger is attached in managed-only mode or if no breakpoint exists at the specified address.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugProcess2 Interface
ICorDebugProcess Interface