ICorDebugFunction2::SetJMCStatus Method
Marks the function represented by this ICorDebugFunction2 for Just My Code stepping.
Syntax
HRESULT SetJMCStatus (
[in] BOOL bIsJustMyCode
);
Parameters
bIsJustMyCode
[in] Set to true
to mark the function as user code; otherwise, set to false
.
Return Values
HRESULT | Description |
---|---|
S_OK |
The function was successfully marked. |
CORDBG_E_FUNCTION_NOT_DEBUGGABLE |
The function could not be marked as user code because it cannot be debugged. |
Remarks
A Just My Code stepper will skip non-user code. User code must be a subset of debuggable code.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.