当前位置: 代码迷 >> 驱动开发 >> Debuggee not connected解决办法
  详细解决方案

Debuggee not connected解决办法

热度:81   发布时间:2016-04-28 10:48:28.0
Debuggee not connected
我在虚拟机内编译了wrk后把exe文件相应dll文件移到system32下,修改了boot。ini文件,也运行了wek内核的系统,再在主机上用windbg调试,无论怎样都是debugee not connected



Microsoft (R) Windows Debugger Version 6.11.0001.402 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\pipe\debug
Waiting to reconnect...


------解决方案--------------------
1.先在VMvare上建了一个虚拟串口(serial port),使用了Use named pipe这个选项,这个选项的三个内容是:\\.\pipe\com_1;this end is the server;the other end is an application
2.在桌面上又建了一个快捷方式,并把内容改成:"C:\Program Files\Debugging Tools for Windows\windbg.exe" -b -k com:pipe,port=\\.\pipe\com_1,resets=0
3.找到虚拟机中的boot.ini文件,在operation systems这项下面添加了:multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /debugport=com1 /baudrate=115200


利用VMWare和WinDbg调试驱动程序
  相关解决方案