Debugging Tools for Windows |
The IsKernelDebuggerEnabled method checks whether kernel debugging is enabled for the local kernel.
HRESULT
IDebugClient2::IsKernelDebuggerEnabled();
This method may also return error values. See Return Values for more details.
IsKernelDebuggerEnabled is available in IDebugClient2 and later versions.
Kernel debugging is available for the local computer if the computer was booted by using the /debug boot switch. In some Windows installations, local kernel debugging is supported when other switches—such as /debugport—are used, but this is not a guaranteed feature of Windows and should not be relied on. For more information about kernel debugging on a single computer, see Performing Local Kernel Debugging.
For more information about connecting to live kernel-mode targets, see Live Kernel-Mode Targets.
Headers: Defined in dbgeng.h. Include dbgeng.h.