Windows kernel driver development: Log |DbgPrint()| output to a file

134 views Asked by At

We want to automagically print all messages from a Windows kernel module (e.g. DbgPrint()) to a Cygwin terminal or file, without any GUI involved.

Options which do not work:

  • cdb has !dbgprint, but running it in an endless loop consumes lots of CPU time, and in case the kernel buffer is empty it prints that information
  • DebugView can log to a file, but has a GUI and cannot be scripted

Is there any other way ?

We tried cdb and DebugView, but both do not work for us

0

There are 0 answers