windbug 无法连上虚拟机,求解
调试机主机安装的windbug版本为6.11.0001.4.4 X86,系统为win7
快捷方式 设置为了"D:\Program Files\Debugging Tools for Windows (x86)\windbg.exe" -b -k com:port=\\.\pipe\com_1,baud=115200,pipe
被调试机为xp sp3,boot.ini 修改为
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional Debug" /noexecute=optin /fastdetect /debug /debugport=com1 /baudrate=115200
虚拟机设置为:
Serial Port 2:Using named pipe \\.\pipe\com_1
Using named pipe:
\\.\pipe\com_1
the end is the server
the oter end is an application
Yield CPU on poll
但先启动虚拟机选择调试模式后,在主机中打开windbug就显示:
Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Opened \\.\pipe\com_1
Waiting to reconnect...
然后就木有下文了~这是什么原因呢?按照网上还有《windows驱动开发技术详解》《寒江独钓》里的参数设置了多次,都是这样~,求高人指点~
[解决办法]
to Debug a Virtual Machine.
* The Baudrate option is not used for named pipes.
* The Resets=0 option is used for Virtual PC virtual machines and for other virtual machines where the named pipes drop excess bytes.
* The Reconnect option is used to cause the debugger to automatically disconnect the pipe and reconnect the pipe if a read failure or write failure occurs
e.g.
On target virtual machine:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /debug /debugport=com1
On Host Machine:
Windbg -k com:pipe,port=\\.\pipe\vpcdebug,resets=0,reconnect
[解决办法]
时不时网卡不支持啊。
[解决办法]
网卡不行,这个功能要到Win8里才有