KD_DEBUGGER_ENABLED

The KD_DEBUGGER_ENABLED global kernel variable indicates whether kernel debugging is enabled.

Remarks

The value of KD_DEBUGGER_ENABLED is determined as follows:

  • If debugging was not enabled on the computer at boot time, the value is 0.

  • If debugging was enabled on the computer at boot time -- regardless of whether a kernel debugger is currently attached -- the value is 1.

Requirements

Version

Available in Microsoft Windows XP and later.

Header

Ntddk.h (include Wdm.h, Ntddk.h, or Wdm.h)

See also

Determining if a Debugger is Attached

KD_DEBUGGER_NOT_PRESENT

 

 

Send comments about this topic to Microsoft