Windows Phone 分析 - 分析日志失败



我是内存分析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()

也许有人遇到过这个问题并找到一些解决方案?

谢谢。

我也有这个问题。我从临时文件夹中删除了所有文件,分析再次开始工作。不确定这是否只是一个巧合,但也许值得一试。

最新更新