如何找到承载此.NET代码的.NET程序集?
Windows Live Mesh在我的计算机上反复崩溃(每隔几秒钟;它会重新启动并再次崩溃) 事件日志中记录的堆栈跟踪显示.NET代码:如何找到承载此.NET代码的.NET程序集?,.net,windows,debugging,live-mesh,.net,Windows,Debugging,Live Mesh,Windows Live Mesh在我的计算机上反复崩溃(每隔几秒钟;它会重新启动并再次崩溃) 事件日志中记录的堆栈跟踪显示.NET代码: Application: MOE.exe CoreCLR Version: 3.0.40723.0 Description: The application requested process termination through System.Environment.FailFast(string message). Message: [Format_I
Application: MOE.exe
CoreCLR Version: 3.0.40723.0
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: [Format_InvalidString]
Stack:
at System.Environment.FailFast(System.String)
...
at System.Number.StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
at System.Number.ParseInt64(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
at System.Int64.Parse(System.String)
at Microsoft.MeshOperatingEnvironment.Runtime.Client.WlcProxies.ResourceTranslator.ConvertPerson(Microsoft.MeshOperatingEnvironment.Runtime.Client.Entities.Person)
所以我试图找到包含
ResourceTranslator.ConvertPerson(person)
{
...
Int64.Parse(s)
...
}
它在一个无效的数字上快速失败
除非我将MOE.exe
加载到Reflector中:它不是.NET模块:
那代码来自某个地方。如何找到它?非托管程序可以在崩溃之前托管托管程序:-)(例如SQL Server)您可以使用process explorer查看它加载了哪些DLL吗?其中一个可能包含
Microsoft.MeshOperatingEnvironment
。实际上,进程监视器最好在moe.exe
上设置一个过滤器,路径以.dll
结尾。这会保留一个日志,这样您就不会在进程崩溃之前急于获取快照。