Debug windbg dual-host Kernel through the parallel port, windbgkernel

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.