KdEnableDebugger

KdEnableDebugger routine

The KdEnableDebugger routine re-enables the kernel debugger after a call to the KdDisableDebugger routine disables the kernel debugger.

Syntax


NTSTATUS KdEnableDebugger(void);

Parameters

This routine has no parameters.

Return value

KdEnableDebugger returns STATUS_SUCCESS if the kernel debugger was successfully re-enabled. Otherwise, the return value can be one of the following error status codes:S

TATUS_ACCESS_DENIED

STATUS_DEBUGGER_INACTIVE

Remarks

If the operating system was booted with no debug controls, KdEnableDebugger returns STATUS_DEBUGGER_INACTIVE.

If the kernel debugger is blocked (that is, the KdBlockEnable system variable is set to a value other than FALSE), KdEnableDebugger returns STATUS_ACCESS_DENIED.

Requirements

Target platform

Universal

Version

Available in Microsoft Windows 2000 and later versions of Windows.

Header

Wdm.h (include Wdm.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

Any level

See also

KdDisableDebugger

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft