How to break when a DLL is loaded in kernel debugger mode?

windbg

Solution

You will want to run:

!gflag +ksl
sxe ld Something.dll
g

You may also want to refer to [1], which discussing breaking into a process near boot-time using the above approach.

[1] How do I debug a process that starts at boot time?

Problem

In user mode debugging, I usually break with the following command: ``` sxe ld Something.dll ``` I tried the same in kernel mode, but it is not working. Is there a different command?

Original source

Related problems