【发布时间】:2012-05-15 09:24:32
【问题描述】:
我正在尝试在 Windows 7 x64 上使用 WinDbg 调试 .NET 4 32 位(在项目选项中明确设置)应用程序,步骤如下:
- 启动我的应用程序(让它成为 foo.exe)
- 在 windbg.exe 上启动 x86 版本
- 附加到 foo.exe
- .loadby sos clr
- !dumpheap -stat
之后我得到了这个:
Failed to load data access DLL, 0x80004005
Verify that 1) you have a recent build of the debugger (6.2.14 or newer)
2) the file mscordacwks.dll that matches your version of clr.dll is
in the version directory
3) or, if you are debugging a dump file, verify that the file
mscordacwks_<arch>_<arch>_<version>.dll is on your symbol path.
4) you are debugging on the same architecture as the dump file.
For example, an IA64 dump file must be debugged on an IA64
machine.
怎么了? 我搜索了很多..这个问题看起来是关于内存转储的:Failed to load data access DLL, 0x80004005 但我正在尝试调试正在运行的应用程序。
【问题讨论】:
-
您链接到的问题是同一个问题。请参阅第 2 点。您是否安装了 .NET 4.5?
-
另外,假设你有windbg >= v6.2.14?