Mz1-rc

win10+winxp双机调试 | 基于vbox

xp系统作为被调试的,win10负责调试,使用虚拟串口进行通信。

首先配置xp,在c:\boot.ini文件中加上
/noguiboot
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MicrosoftWindows XP Professional" /noexecute=optin /fastdetect /debug/debugport=com1 /baudrate=115200

然后关机。

然后配置串口:
image

配置好了开机的时候选择调试开机就行了,然后配置一下win10上windbg的快捷方式:

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

打开以后break就能断下来了。
over.

分类:

技术点:

相关文章:

  • 2021-12-31
  • 2021-04-25
  • 2021-08-07
  • 2022-01-01
  • 2021-07-20
  • 2022-01-11
猜你喜欢
  • 2021-07-05
  • 2021-09-04
  • 2021-11-30
  • 2021-11-02
  • 2021-10-17
  • 2021-11-28
  • 2021-08-03
相关资源
相似解决方案