调试诊断工具,WinDBG和Visual Studio无法打开我的转储

时间:2014-07-18 14:58:17

标签: visual-studio-2010 windbg crash-dumps debugdiag dmp

我的设置如下:

  1. 在64位Windows 2003服务器上运行的32位.net 4.0网站
  2. 我有调试诊断1.2设置来监控崩溃
  3. 我还没有自动转储,但试图分析手动转储。
  4. 我有一台安装了Visual Studio 2010的32位Windows 7机器,我试图用它来分析这些转储文件。
  5. 我已尝试过多种方法来打开它生成的转储文件,但都失败了。

    以下是我的尝试:

    1。 DebugDiag Win 2003

    尝试直接在托管网站的win 2003服务器上通过Debug Diagnostic使用Analysis选项卡。我收到以下错误

    .NET runtime was loaded in the progress but managed analysis was not done on this dump file because the managed debugger extension commands failed to execue with the below error
    
    CLRDLL: CLRDLL load disabled
    
    CLRDLL: Unable to find mscordacwks_AMD64_AMD64_4.0.30319.1022.sll by mscorwks search
    CLRDLL: Unable to find mscordacwks_AMD64_AMD64_4.0.30319.1022.sll on the path
    CLRDLL: ERROR: Unable to find mscordacwks_AMD64_AMD64_4.0.30319.1022.dll , win32 error 0n2
    

    2。 DebugDiag Win 7

    尝试分析32位Windows 7计算机上的转储,我收到以下错误:

    DebugDiag Analysis cannot be performed against a 64-but dump file from a 32-bit analysis machine
    

    3。 Win 7 x86上的WinDbg

    尝试在32位widows 7计算机上通过WinDbg工具打开转储:

    0:000> !clrstack
    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 mscorwks.dll is 
                    in the version directory
                3) or, if you are debugging a dump file, verify that the file 
                    mscordacwks___.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.
    
    You can also run the debugger command .cordll to control the debugger's
    load of mscordacwks.dll.  .cordll -ve -u -l will do a verbose reload.
    If that succeeds, the SOS command should work on retry.
    
    If you are debugging a minidump, you need to make sure that your executable
    path is pointing to mscorwks.dll as well.
    

    尝试在WinDBG上运行以下命令来注册mscordwks并切换到32位版本但仍然没有去:

    ![在此输入图片说明] [2]

    .loadby sos mscorkks
    
    .load wow64exts
    
    !sw
    
    .cordll -ve -u -l
    

    4。 Visual Studio 2010

    尝试使用Visual Studio 2010来调试此转储文件,但也无法显示无法显示管理代码或其他内容。


    我已经花了10天时间对此感到非常失望&无助。

    任何能够解释这里有什么问题的人都可以吗?

    非常感谢提前。

0 个答案:

没有答案