KD Connection Servers (Kernel Mode)

Kernel-mode remote debugging through a KD connection server involves running a small application called a KD connection server on the server. Then a kernel-mode debugger is started on the client. Since this debugger will be doing all of the actual processing, it is called the smart client.

The Debugging Tools for Windows package includes a KD connection server called KdSrv (kdsrv.exe).

The two computers do not have to be running the same version of Windows; they can be running any version of Windows. However, the debugger binaries used on the client and the KdSrv binary used on the server must be from the same release of the Debugging Tools for Windows package. This method cannot be used for dump-file debugging.

To set up this remote session, the KD connection server is set up first, and then the smart client is activated. Any number of smart clients can operate through a single KD connection server, but they must each be connected to a different kernel debugging session.

This section includes:

Activating a KD Connection Server

Searching for KD Connection Servers

Activating a Smart Client (Kernel Mode)

KD Connection Server Examples

Controlling a KD Connection Server Session