Ending a Debugging Session in KD
There are two different ways to exit KD.
Issue a q (Quit) command in KD to save the log file, end the debugging session, and exit the debugger. The target computer remains locked.
Press CTRL+B and then press ENTER to end the debugger abruptly. If you want the target computer to continue to run after the debugger is ended, you must use this method. Because CTRL+B does not remove breakpoints, you should use the following commands first.
kd> bc * kd> g
Exiting the debugger by using CTRL+B does not clear kernel-mode breakpoints, but attaching a new kernel debugger does clear these breakpoints.
When you are performing remote debugging, q ends the debugging session. CTRL+B exits the debugger but leaves the session active. This situation enables another debugger to connect to the session.
If the q (Quit) command does not work, press CTRL+R and then press ENTER on the host computer's keyboard, and then retry the q command. If this procedure does not work, you must use CTRL+B to exit the debugger.