Wednesday, January 11, 2012

Windows Remote or Network Debugging II - DebugView and KdPrint

DebugView is an application to monitor debug output on a local system, or any computer on the network reached via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so we don't need a debugger to catch the debug output applications or device drivers generate, nor do we need to modify our applications or drivers to use non-standard debug output APIs.

The product basically captures all messages sent to the OutputDebugString Win32 API function that would not otherwise be caught be a process debug. It can capture outputs from DbgPrint and KdPrint at debug mode.

The current version is v4.77. It is free. The command to capture debug info on the target machine (local) is

       Dbgview.exe  /k /v /l log.txt.

log.txt is the output file.

The server (agent) mode command is

       Dbgview.exe /a /t /k

and so the remote machine can connect the target machine to see the debug output. The help command is

      Dbgview.exe /?


See more at "DebugView v4.77".

No comments:


Blog Archive

About Me

My photo
HD Multimedia Technology player