WinDbg + VMware
1、虚拟机下的系统关闭状态下2、Output to named pipe
3、Named pipe:
\\.\pipe\com_1
This end is the server.
The other end is an application.
Choose:Connect at power on
4、I/O mode: Choose Yield CPU on poll
5、在 boot.ini 添加一个新的启动选项:【Note:debugport 是在添加串口时的那个名字 com_1,而非网上说的 com1】
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="XP-D" /debug /debugport=com_1 /baudrate=115200 /fastdetect
6、设置WinDbg,两种方式
1)直接建立快捷方式:windbg.exe -b -k com:pipe,port=\\.\pipe\com_1,baud=115200
2)启动WinDbg 后
开始调试:
启动虚拟机,在进入系统前选择调试版本的,然后启动WinDbg连接 ,而后再让虚拟机系统真正启动
页:
[1]