我如何知道崩溃转储的CLR版本? [英] How can I know the CLR version of a crash dump?
问题描述
我有一个从.NET应用程序崩溃的minidump。有什么方法知道使用Windbg或其他工具的故障机器(它生成崩溃转储)的CLR版本(例如mscorwks.dll的版本)?
I have a minidump crashed from a .NET application. Is there any way to know the CLR version (e.g. version of mscorwks.dll) of the fault machine (which generates the crash dump) using either Windbg or some other tool?
推荐答案
在WinDbg:最简单的方法是使用!eeversion
命令,但如果你想要额外的信息, c $ c> v verbose选项的 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
这篇关于我如何知道崩溃转储的CLR版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!