Export (0) Print
Expand All

ICorDebugProcess2::SetUnmanagedBreakpoint Method

Sets an unmanaged breakpoint at the specified native image offset.

HRESULT SetUnmanagedBreakpoint (
    [in]  CORDB_ADDRESS    address,
    [in]  ULONG32          bufsize,
    [out, size_is(bufsize), length_is(*bufLen)] 
        BYTE               buffer[],
    [out] ULONG32          *bufLen
);

address

[in] A CORDB_ADDRESS object that specifies the native image offset.

bufsize

[in] The size, in bytes, of the buffer array.

buffer

[out] An array that contains the opcode that is replaced by the breakpoint.

bufLen

[out] A pointer to the number of bytes returned in the buffer array.

If the native image offset is within the common language runtime (CLR), the breakpoint will be ignored. This allows the CLR to avoid dispatching an out-of-band breakpoint, when the breakpoint is set by the debugger.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6 Preview, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Show:
© 2015 Microsoft