Debugging Tools for Windows

GFlags Flag Table

The following table lists the flags that GFlags changes, the hexadecimal value and abbreviation for each flag, and the destination (R for registry, K for kernel, I for image file) in which the flag is valid.

For a detailed description of each flag, see the Global Flag Reference.

Important  Pool tagging is permanently enabled in Windows Server 2003 and later versions of Windows. On these systems, the Enable pool tagging check box on the Global Flags dialog box is dimmed, and commands to enable or disable pool tagging fail.

Note  The symbolic name of each flag is provided for reference only. Because symbolic names change, they are not a reliable identifier of a global flag.

Description Symbolic Name Hexadecimal Value Abbreviation Destination
Buffer DbgPrint Output FLG_DISABLE_DBGPRINT 0x08000000 ddp R,K
Create kernel mode stack trace database FLG_KERNEL_STACK_TRACE_DB 0x2000 kst R
Create user mode stack trace database FLG_USER_STACK_TRACE_DB 0x1000 ust R,K,I
Debug initial command FLG_DEBUG_INITIAL_COMMAND 0x4 dic R
Debug WinLogon FLG_DEBUG_INITIAL_COMMAND_EX 0x04000000 dwl R
Disable heap coalesce on free FLG_HEAP_DISABLE_COALESCING 0x00200000 dhc R,K,I
Disable paging of kernel stacks FLG_DISABLE_PAGE_KERNEL_STACKS 0x80000 dps R
Disable protected DLL verification FLG_DISABLE_PROTDLLS 0x80000000 dpd R,K,I
Disable stack extension FLG_DISABLE_STACK_EXTENSION 0x10000 dse I
Early critical section event creation FLG_CRITSEC_EVENT_CREATION 0x10000000 cse R,K,I
Enable application verifier FLG_APPLICATION_VERIFIER 0x100 vrf R,K,I
Enable bad handles detection FLG_ENABLE_HANDLE_EXCEPTIONS 0x40000000 bhd R,K
Enable close exception FLG_ENABLE_CLOSE_EXCEPTIONS 0x00400000 ece R,K
Enable debugging of Win32 subsystem FLG_ENABLE_CSRDEBUG 0x20000 d32 R
Enable exception logging FLG_ENABLE_EXCEPTION_LOGGING 0x00800000 eel R,K
Enable heap free checking FLG_HEAP_ENABLE_FREE_CHECK 0x20 hfc R,K,I
Enable heap parameter checking FLG_HEAP_VALIDATE_PARAMETERS 0x40 hpc R,K,I
Enable heap tagging FLG_HEAP_ENABLE_TAGGING 0x800 htg R,K,I
Enable heap tagging by DLL FLG_HEAP_ENABLE_TAG_BY_DLL 0x8000 htd R,K,I
Enable heap tail checking FLG_HEAP_ENABLE_TAIL_CHECK 0x10 htc R,K,I
Enable heap validation on call FLG_HEAP_VALIDATE_ALL 0x80 hvc R,K,I
Enable loading of kernel debugger symbols FLG_ENABLE_KDEBUG_SYMBOL_LOAD 0x40000 ksl R,K
Enable object handle type tagging FLG_ENABLE_HANDLE_TYPE_TAGGING 0x01000000 eot R,K
Enable page heap FLG_HEAP_PAGE_ALLOCS 0x02000000 hpa R,K,I
Enable pool tagging
(Windows 2000 and Windows XP only)
FLG_POOL_ENABLE_TAGGING 0x400 ptg R
Enable system critical breaks FLG_ENABLE_SYSTEM_CRIT_BREAKS 0x100000 scb R, K, I
Load DLLs top-down
(Win64 only)
FLG_LDR_TOP_DOWN 0x20000000 ltd R, K, I
Load image using large pages if possible lpg I
Maintain a list of objects for each type FLG_MAINTAIN_OBJECT_TYPELIST 0x4000 otl R
Object Reference Tracing

(Windows Vista and later)

R, K
Show loader snaps FLG_SHOW_LDR_SNAPS 0x2 sls R,K,I
Special Pool spp R

R,K (Windows Vista and later)

Stop on exception FLG_STOP_ON_EXCEPTION 0x1 soe R,K,I
Stop on hung GUI FLG_STOP_ON_HUNG_GUI 0x8 shg K

Build machine: CAPEBUILD