Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.66 KB

cordebugngenpolicy-enumeration.md

File metadata and controls

55 lines (41 loc) · 1.66 KB
description title ms.date dev_langs api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: CorDebugNGenPolicy Enumeration
CorDebugNGenPolicy Enumeration
03/30/2017
cpp
CorDebugNGenPolicy
mscordbi.dll
COM
CorDebugNGenPolicy
CorDebugNgenPolicy enumeration [.NET Framework debugging]
edb4e4d2-3166-44d4-8b17-bf302f7ea093
apiref

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: [!INCLUDEnet_current_v45plus]

See also