【问题标题】:Unable to analyze dump file in DebugAnalyzer无法在 DebugAnalyzer 中分析转储文件
【发布时间】:2012-12-13 23:11:20
【问题描述】:

我有一个来自 64 位机器的 64 位 w3wp 进程的内存转储。当我在 WinDbg 中打开它并用 psscor 或 sos 分析它时,它工作正常。

但是,我正在尝试使用DebugAnalyzer 工具。当我打开它并点击“运行分析!”按钮,这是我在对话框中看到的错误消息:

---------------------------
Debug Analyzer.NET v2
---------------------------
Unable to detect .NET Runtime (CLR) or Unsupported version
(Hint: Error loading symbol for mscorwks.dll or CLR 1.x)

Verify the following:
- Check if Symbol Path is correct
- You are debugging on the same architecture
  (eg. x86 dump require x86 version of Debug Analyzer)

符号路径正确(与 WinDbg 使用的相同)并且我使用的是 64 位版本的 DebugAnalyzer。 w3wp 进程使用的 .NET 版本是 .NET 4。

我在机器上的任何地方都找不到mscorwks.dll,但mscordacwks.dll 在我的符号路径中。但是,由于 WinDBG 似乎不需要它,我不确定这是问题所在。

是否有人有使用此工具的经验或建议的故障排除步骤?

【问题讨论】:

    标签: .net debugging windbg memory-dump


    【解决方案1】:

    感谢您使用调试分析器。可供下载的版本仅支持 .NET v2.0 内存转储。我相信您正在针对加载了 .NET 4.0 的内存转储进行测试。

    【讨论】:

      【解决方案2】:

      消息Unable to detect .NET Runtime (CLR) or Unsupported version 似乎说明了一切。我会在其他 .NET 4.0 应用程序上尝试 Debug Analyzer.NET v2,看看它是否有效。另一行感兴趣的是You are debugging on the same architecture。您的 w3wp.exe 是 32 位还是 64 位进程?你用的是对应版本的Debug Analyzer.NET吗?

      【讨论】:

      • 是的,我使用的是正确版本的 DebugAnalyzer,架构匹配并且工作进程是 64 位的(正如我已经在描述中指定的那样)。
      猜你喜欢
      • 1970-01-01
      • 2011-05-30
      • 1970-01-01
      • 1970-01-01
      • 2020-11-25
      • 2014-11-14
      • 1970-01-01
      • 2011-07-04
      • 1970-01-01
      相关资源
      最近更新 更多