在 DebugDiag Analysis 上运行性能分析失败,并显示以下消息:
PerfAnalysis - v (2.3.0.37) 失败的转储文件:C:\w3wp.DMP;
类型:System.ArgumentException
消息:已添加具有相同键的项目。
堆栈跟踪:
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
DebugDiag.AnalysisRules.COperations.get_BoilerPlateFunctionsByOpType()
DebugDiag.AnalysisRules.COperation.AddClrFramesToRelevantStackFrames(ScriptThreadClass thread, IASPRequest vData, Dictionary`2 relevantStackFrames)
DebugDiag.AnalysisRules.COperation.GetRelevantStackFrames(ScriptThreadClass thread, IASPRequest vData)
DebugDiag.AnalysisRules.COperation.BeginInit(Int32 opType, String key, ScriptThreadClass thread, IASPRequest vData, Int32 dumpNumber)
DebugDiag.AnalysisRules.PerfFunctions.AddUnknownOperation(ScriptThreadClass thread, CDump dump)
DebugDiag.AnalysisRules.PerfFunctions.LoadOperationsForThread(ScriptThreadClass thread, CDump dump)
DebugDiag.AnalysisRules.PerfFunctions.LoadOperationsForDump(CDump dump, Object dumpNum, Object totalDumps)
DebugDiag.AnalysisRules.PerfAnalysis.RunAnalysisRule(NetScriptManager manager, NetProgress progress)
DebugDiag.DotNet.NetAnalyzer.RunAnalysisRulesInternal(DumpFileType bitness, NetProgress progress, String symbolPath, String imagePath, String reportFileFullPath, Boolean twoTabs, AnalysisModes analysisMode)
我怎样才能解决这个问题?
谢谢。
答案1
我也遇到了完全相同的问题,我能找到的唯一解决方案是将 DebugDiag 版本恢复为 DebugDiag Version 2 Update 2。
此特定版本的下载链接:https://www.microsoft.com/en-us/download/details.aspx?id=49924