Take care to choose a port number that is not used by any other applications that run on the host computer. The port that you choose will be opened for exclusive access by the debugger running on the host computer. You can choose any number from 49152 through 65535, the recommended range is 50000 - 50039. On the target computer, open a Command Prompt window and enter the following command, where YourIPAddress is the IP address of the host computer: ping -4 Ĭhoose a port number that will be used for debugging on both the host and target computers. Make a note of the IPv4 address of the network adapter that you intend to use for debugging. On the host computer, open a Command Prompt window and enter the following command: ipconfig Use one of the following procedures to determine the IP address of the host computer. Determining the IP Address of the Host Computer For information on downloading and installing the debugger tools, see Download Debugging Tools for Windows.
Install the Debugging Tools for WindowsĬonfirm that the Debugging Tools for Windows are installed on the host system. For a list of supported network adapters, see Supported Ethernet NICs for Network Kernel Debugging in Windows 10 and Supported Ethernet NICs for Network Kernel Debugging in Windows 8.1. The host computer can use any network adapter, but the target computer must use a network adapter that is supported by Debugging Tools for Windows.
Network debugging is significantly faster than serial port debugging.It is less likely that they will both have serial ports or both have 1394 ports. Given any two computers, it is likely that they will both have Ethernet adapters.It is easy to debug many target computers from one host computer.The host and target computers can be anywhere on the local network.The host computer must be running Windows 7 or later, and the target computer must be running Windows 8 or later.ĭebugging over a network has the following advantages compared to debugging over other types of connectivity. The computer that runs the debugger is called the host computer, and the computer being debugged is called the target computer. Using the KDNET utility is strongly recommended for all debugger users. To set up network debugging automatically, see Setting Up KDNET Network Kernel Debugging Automatically. Setting up a network debugging manually is a complex and error prone process.