4.1.9 Connecting to a Running Target

WinDbg can be connected to a target machine that has already booted. This is especially useful when an error or exception causes the target to crash. Connect to a running target as follows:

1.Start WinDbg on the host.

2.WinDbg will either connect immediately or wait to connect, depending upon what has happened on the target. If WinDbg KD is waiting to connect, press ctrl+c on the host or SYSRQ on the target.

3.Reload the symbols for the target by running !reload in the Command window of WinDbg on the host.