ICorDebugCode::CreateBreakpoint Method
Creates a breakpoint in this code segment at the specified offset.
Syntax
HRESULT CreateBreakpoint (
[in] ULONG32 offset,
[out] ICorDebugFunctionBreakpoint **ppBreakpoint
);
Parameters
offset
[in] The offset at which to create the breakpoint.
ppBreakpoint
[out] A pointer to the address of an "ICorDebugFunctionBreakpoint" object that represents the breakpoint.
Remarks
Before the breakpoint is active, it must be added to the process object.
If this code is common intermediate language (CIL) 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: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0