tch*_*dev 14 debugging windbg kernel-mode
我试图让网络上的WinDbg调试工作,但是在我进入调试器(Debug-> Break)之后它总是失去连接,然后尝试再次启动它(Debug-> Go).但是,如果我从不闯入调试器,看起来连接在'N'时间内是稳定的.我甚至可以在WinDbg中看到调试打印语句,因为我在此宽限期内使用目标系统.而且,在调试中断时似乎连接是好的,因为我可以从目标系统收集信息.我使用"!ustr srv!SrvComputerName"来获取目标计算机名称,并返回正确的名称.任何帮助将非常感激.
设置系统:我按照MSDN网站的说明设置我的目标和主机系统.
调试:以下是我尝试解决此问题的方法.
观察:
系统信息:主机系统正在运行Windows 8.1 Pro.目标系统正在运行Windows 8.1企业评估(8GB内存).
WinDbg打印出来:
Microsoft (R) Windows Debugger Version 6.3.9600.17237 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Using NET for debugging
Opened WinSock 2.0
Waiting to reconnect...
Connected to target **.**.*.*** on port ***** on local IP **.**.*.***
Connected to Windows 8 9600 x64 target at (Fri Mar 27 18:58:06.217 2015 (UTC - 7:00)), ptr64 TRUE
Kernel Debugger connection established.
************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred srv*C:\Symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: srv*C:\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 8 Kernel Version 9600 MP (4 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 9600.17031.amd64fre.winblue_gdr.140221-1952
Machine Name:
Kernel base = 0xfffff801`00e70000 PsLoadedModuleList = 0xfffff801`0113a2d0
Debug session time: Fri Mar 27 18:58:06.918 2015 (UTC - 7:00)
System Uptime: 0 days 0:47:15.869
Break instruction exception - code 80000003 (first chance)
*******************************************************************************
* *
* You are seeing this message because you pressed either *
* CTRL+C (if you run console kernel debugger) or, *
* CTRL+BREAK (if you run GUI kernel debugger), *
* on your debugger machine's keyboard. *
* *
* THIS IS NOT A BUG OR A SYSTEM CRASH *
* *
* If you did not intend to break into the debugger, press the "g" key, then *
* press the "Enter" key now. This message might immediately reappear. If it *
* does, press "g" and "Enter" again. *
* *
*******************************************************************************
nt!DbgBreakPointWithStatus:
fffff801`00fcab90 cc int 3
0: kd> g
... Retry sending the same data packet for 64 times.
The transport connection between host kernel debugger and target Windows seems lost.
please try resync with target, recycle the host debugger, or reboot the target Windows.
... Retry sending the same data packet for 128 times.
... Retry sending the same data packet for 192 times.
Run Code Online (Sandbox Code Playgroud)
此时,WinDbg不再响应,并继续发送数据包.目标系统也没有响应.
小智 6
我在 VMware 中找到了一个对我有用的更简单的解决方案,问题出在 vmware 中 - NAT 连接有 30 秒超时。该值是可配置的。转到编辑 -> 虚拟网络编辑器 -> 更改设置(uac 提示) -> 在列表中选择 NAT -> NAT 设置 -> UDP 超时。最大值是 32767,默认值(对我来说)是 30 秒。它彻底解决了我的问题。
| 归档时间: |
|
| 查看次数: |
2614 次 |
| 最近记录: |