为什么WinDbg 10.0.19041 x86失败,而WinDbg 6.12成功?



开始探索WinDbg(不是预览版)。设法获得两个并排安装-版本6.12(独立从stackoverflow链接到微软服务器)和10.0.19041(从Windows SDK)。

调试一个简单的Hello-World . net Framework 4.7.2控制台应用程序(在64位Windows 7上首选AnyCPU 32位)在Windbg x86 6.12中正常工作,但在新版本上不正常。

Microsoft (R) Windows Debugger Version 10.0.19041.685 X86
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: D:ConsoleApplication2ConsoleApplication2binDebugConsoleApplication2.exe
************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*C:Symbols*https://msdl.microsoft.com/download/symbols
************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*C:Symbols*https://msdl.microsoft.com/download/symbols
Symbol search path is: srv*C:Symbols*https://msdl.microsoft.com/download/symbols
Executable search path is: 
ModLoad: 00bf0000 00bf8000   ConsoleApplication2.exe
Unable to get program counter
WaitForEvent failed
Unable to get program counter
eax=00bf27de ebx=fffde000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000
eip=779f01c4 esp=0028fd5c ebp=00000000 iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000202
0023:01c4 ??              ???

6.12

输出
CommandLine: D:ConsoleApplication2ConsoleApplication2binDebugConsoleApplication2.exe
Symbol search path is: srv*C:Symbols*https://msdl.microsoft.com/download/symbols
Executable search path is: 
ModLoad: 00bf0000 00bf8000   ConsoleApplication2.exe
ModLoad: 779e0000 77b60000   ntdll.dll
ModLoad: 64720000 6476a000   C:WindowsSysWOW64MSCOREE.DLL
ModLoad: 77210000 77320000   C:Windowssyswow64KERNEL32.dll
ModLoad: 76f80000 76fc7000   C:Windowssyswow64KERNELBASE.dll
(1fb8.20b0): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00000000 ecx=705a0000 edx=0026dd78 esi=fffffffe edi=00000000
eip=77a80ed4 esp=0019f7b4 ebp=0019f7e0 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
ntdll!LdrpDoDebuggerBreak+0x2c:
77a80ed4 cc              int     3

任何帮助都将非常感激。

Windows 7在2020年1月14日达到生命周期结束,而Windows 10 SDK 10.0.19041在此之后发布,因此您可以假设该SDK版本中的任何内容都不再在Windows 7上进行测试,并且您观察到的任何问题都是通过设计的。

参考

相关内容

  • 没有找到相关文章