我是内存分析 Windows Phone 应用程序的新手。在我停止内存分析会话后,Visual Studio 尝试解析日志,但失败并显示消息“解析日志文件失败”。我看到 %temp% 目录中的“ProfilerLog_”文件并收到以下消息:
System.ArgumentException: Item has already been added. Key in dictionary: '226295856' Key being added: '226295856'
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at SilverlightProfiler.Internal.CFAdapter.HandleEvent(UInt32 eventID, ProbeMarkerType eventMarkerType, Double clockTime, Double threadTime, UInt32 threadID, ThreadType threadType, List`1 eventInfoList)
at SilverlightProfiler.Internal.WPInputAdapter.HandleEvent(ProbeEventSource eventSource, UInt32 eventID, ProbeMarkerType eventMarkerType, Double clockTime, Double threadTime, UInt32 threadID, ThreadType threadType, List`1 eventInfoList)
at SilverlightProfiler.Internal.WPInputAdapter.HandleEvent(BinaryReader input, Int64 endOffset, ThreadStreamInfo threadStreamInfo)
at SilverlightProfiler.Internal.WPInputAdapter.HandleEvents()
at SilverlightProfiler.Internal.WPInputAdapter.ParseLogFile(BinaryReader input, String logFilename, AgLogFileHeader header)
at SilverlightProfiler.Internal.WPInputAdapter.Parse(Object data)
at SilverlightProfiler.Internal.ViewModel.AnalyzingViewModel.startAnalyzing()
可能有人遇到过这个问题并找到一些解决方案?
谢谢。