Share via


ICorDebugFunction2::SetJMCStatus Method

Marks the function represented by this ICorDebugFunction2 for Just My Code stepping.

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 .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugFunction2 Interface