安装windbg http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
主机和虚拟机都要安装WinDBG
一:
在VM中使用命名管道模拟一个串口 |
二:
主机 增加windbg快捷方式 ,属性-目标后面写上 |
三:
被调试机 在boot.ini中增加一行 也就是:multi(0)disk(0)rdisk(0)partition(1)/WINDOWS="调试WinDBG" /noexecute=optin /fastdetect /debug /debugport=com1 /baudrate=115200 |
四:
启动WinDbg监听 启动vm 选择 “调试WinDBG” |