且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我如何知道崩溃转储的CLR版本?

更新时间:2022-12-04 21:57:19

在WinDbg:最简单的方法是使用!eeversion 命令,但如果你想要额外的信息, c $ c> v verbose选项的 lm 命令 mscorwks 。如果你在.NET 4上,运行时调用 clr ,所以在这种情况下,你需要相应地更改命令。

In WinDbg: the easiest way is to use the !eeversion command, but if you want additional info you can use the lm command with the v verbose option for the runtime module mscorwks. If you're on .NET 4 the runtime is called clr, so in that case you need to change the command accordingly.

0:026> lm vm mscorwks
start    end        module name
79e70000 7a3ff000   mscorwks T (no symbols)           
    Loaded symbol image file: mscorwks.dll
    Image path: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
    Image name: mscorwks.dll
    Timestamp:        Wed Oct 24 09:41:29 2007 (471EF729)
    CheckSum:         00597AA8
    ImageSize:        0058F000
    File version:     2.0.50727.1433
    Product version:  2.0.50727.1433
    File flags:       0 (Mask 3F)
    File OS:          4 Unknown Win32
    File type:        2.0 Dll
    File date:        00000000.00000000
    Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4