CorDebugNGenPolicy Enumeration

Provides a value that determines whether a debugger loads native (NGen) images from the native image cache.

Syntax

enum CorDebugNGENPolicy {
    DISABLE_LOCAL_NIC = 1
} CorDebugNGENPolicy;

Members

Member name Description
DISABLE_LOCAL_NIC In a Windows 8.x Store app, the use of images from the local native image cache is disabled. In a desktop app, this setting has no effect.

Remarks

The CorDebugNGENPolicy enumeration is used by the ICorDebugProcess5::EnableNGENPolicy method. Disabling the use of images from the local native image cache provides for a consistent debugging experience by ensuring that the debugger loads debuggable JIT-compiled images instead of optimized native images.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also