Partilhar via


ICorDebugCode::CreateBreakpoint Method

Creates a breakpoint in this code segment at the specified offset.

HRESULT CreateBreakpoint (
    [in] ULONG32     offset,
    [out] ICorDebugFunctionBreakpoint **ppBreakpoint
);

Parameters

  • offset
    [in] The offset at which to create the breakpoint.

Remarks

Before the breakpoint is active, it must be added to the process object.

If this code is Microsoft intermediate language (MSIL) code, and there is a just-in-time (JIT)-compiled, native version of the code, the breakpoint will be applied in the JIT-compiled code as well. (The same is true if the code is JIT-compiled later.)

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugCode Interface