Debug windbg dual-host Kernel through the parallel port, windbgkernel
Preface:
Windows kernel mode debug is available in two ways:
1. windbg dual-host kernel debugging
2. traceview capture wpp log debugging
This section describes how to use the parallel port for windbg dual-host kernel debugging.
Preparation:
1. Interconnect and connect two PCs, calledDebug hostAndDebugged Machine;
Prepare the debugged machine:
2. On the debugged machine, pressWin + RKey combination, andMsconfig;
3. In the pop-upSystem ConfigurationWindow, switchBootPage, clickAdvanced options...Button;
3. on the displayed interface, select the Debug check box and select the Debug port below (note that the port connecting to the local port is the same ), then select the baud rate (note that it must be consistent with the baud rate of the debugging host ).
Prepare the debugging Host:
4. Run windbg, click file in the menu bar, and click Kernel Debug in the drop-down menu ..;
5. In the displayed Kernel Debuging window, switchComPage, locate the port corresponding to the debugging host (which may be different from the port number Of The debugged host), and set it to the same baud rate as the debugged host;
Now you can debug the dual-host kernel.