在 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