windbg 通过网络联机调试配置

本文详细介绍了如何手动设置通过网络电缆进行内核模式调试,适用于Windows XP及更高版本的主机和Windows 8及更高版本的目标计算机。调试过程中,主机和目标机可以在本地网络的任何位置,且网络调试相比其他类型电缆有多种优势。内容涵盖选择适配器、确定IP地址、选择调试端口、设置主机和目标计算机,以及解决调试过程中的问题。
摘要由CSDN通过智能技术生成

Setting Up Kernel-Mode Debugging over a Network Cable Manually

Debugging Tools for Windows supports kernel debugging over an Ethernet network. This topic describes how to set up Ethernet debugging manually.

As an alternative to setting up Ethernet debugging manually, you can do the setup using Microsoft Visual Studio. For more information, see Setting Up Kernel-Mode Debugging over a Network Cable in Visual Studio.

The computer that runs the debugger is called the host computer, and the computer being debugged is called the target computer. The host computer must be running Windows XP or later, and the target computer must be running Windows 8 or later.

Debugging over a network has the following advantages compared to debugging over other types of cable.

  • The host and target computers can be anywhere on the local network.
  • It is easy to debug many target computers from one host computer.
  • Network cable is inexpensive and readily available.
  • Given any two computers, it is likely that they will both have Ethernet adapters. It is less likely that they will both have serial ports or both have 1394 ports.

Supported Network Adapters

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. For a list of supported network adapters, see Supported Ethernet NICs for Network Kernel Debugging in Windows 8.1.

Determining the IP Address of the Host Computer

Use one of the following procedures to determine the IP address of the host computer.

  • On the host computer, open a Command Prompt window and enter the following command:

    ipconfig

    Make a note of the IPv4 address of the network adapter that you intend to use for debugging.

  • On the target computer, open a Command Prompt window and enter the following command, where HostName is the name of the host computer:

    ping -4 HostName

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值