Share via


ICorDebugFunction2::SetJMCStatus Method

Marks the function represented by this ICorDebugFunction2 Interface 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: 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

ICorDebugFunction2 Interface