【问题标题】:How to get SLC.pdb to analyze memory dump如何获取 SLC.pdb 来分析内存转储
【发布时间】:2011-04-14 18:39:36
【问题描述】:

我在 Windows Vista 上使用 windbg 6.12.0002.633 X86 来分析内存转储中的内存泄漏。 我正在尝试使用命令 ``dumpheap -statto determine the quantities of objects in the heap. Unfortunately, I'm getting the error*** 错误:找不到符号文件。默认为 SLC.dll. I have activated!sym quietsto show where the error comes from and the file SLC.pdb is just not available on the symbol server. I have googled the file but haven't found such a downloadable file. The last line in the log output says:Couldn't resolve error at "mheap -stat"` 导出符号。 我无法继续调试,因为我一直收到此错误。

有谁知道我在哪里可以获得 SLC.pdb 文件或解决此问题的其他方法?

【问题讨论】:

    标签: windbg symbols crash-dumps debug-symbols


    【解决方案1】:

    写作

     dumpheap -stat
    

    会导致

    Couldn't resolve error at 'mpheap -stat'
    

    但是,这将起作用:

    !dumpheap -stat
    

    注意感叹号!

    【讨论】:

      【解决方案2】:

      您的错误消息似乎有点不完整。 !dumpheap 命令是 SOS 扩展的一部分,用于在 WinDbg 下调试托管 .NET 代码。那是你想要做的吗?即使没有所有模块的正确 PDB 文件,您也应该能够使用该命令。

      您是如何加载 SOS 的?你可以使用任何其他的 SOS 命令吗?

      【讨论】:

      • 你是对的。命令是错误的! heap -s 成功了。
      猜你喜欢
      • 1970-01-01
      • 2011-08-28
      • 2011-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-28
      • 2013-10-31
      相关资源
      最近更新 更多