环境

虚拟机 win7 Pro x86
vmware 12
windbg x86

虚拟机win7配置

管理员权限运行cmd.exe

然后输入以下命令:

bcdedit /?
bcdedit /enum OSLOADER
bcdedit /copy {current} /d "Windows Vista Copy"
bcdedit /debug ON
bcdedit /bootdebug ON
bcdedit /dbgsettings
bcdedit /timeout 7

设置Vmware的管道虚拟串口

 windbg双机调试配置

 

打开虚拟机设置,将打印机移除,载添加一个串行端口

windbg双机调试配置

windbg双机调试配置

windbg双机调试配置

 windbg双机调试配置

 

windbg设置

在主机中建立一个windbg的快捷方式,进行如下设置

windbg双机调试配置

windbg双机调试配置

在目标中填入以下内容

"C:\Program Files (x86)\Debugging Tools for Windows (x86)\windbg.exe" -b -k com:port=\\.\pipe\com_1,baud=115200,pipe

  windbg双机调试配置

到此,配置完成。                                                                                                         .

相关文章:

  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2021-08-07
  • 2021-11-02
  • 2021-12-31
  • 2021-10-17
  • 2022-12-23
猜你喜欢
  • 2021-04-20
  • 2022-12-23
  • 2021-09-04
  • 2021-10-15
  • 2021-05-08
  • 2022-03-08
  • 2018-01-10
相关资源
相似解决方案