VirtualBox Windbg 双机调试配置

来源:互联网 发布:双向淘宝客 编辑:程序博客网 时间:2024/05/18 01:00
1、关闭虚拟机的操作系统

1.1选择“设置”按钮,在弹出的设置对话框中选择串口

1.2右边有出现4个端口选项卡,在端口1中选中启用串口

1.3端口模式设置为Host Pipe

1.4选中上面的创建通道,在Port/File Path: 中输入    \\.\pipe\com_1

2、主机 增加windbg快捷方式 ,在快捷方式的属性中,在目标后面加入下面的内容
  -b -k com:pipe,port=\\.\pipe\com_1,baud=115200,reconnect -y
 
3、被调试机XP操作系统的C:\boot.ini中增加一行
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”XP debug” /noexecute=optin /fastdetect /debug /debugport=com1 /baudrate=115200

0 0
原创粉丝点击