2012-06-15 27 views
5

Tôi là người mới trong bộ nhớ hồ sơ ứng dụng Windows Phone. Sau khi tôi dừng phiên định dạng bộ nhớ Visual Studio cố phân tích nhật ký và không thành công với thông báo "Phân tích cú pháp tệp nhật ký không thành công". Tôi thấy đến tập tin "ProfilerLog_" trong thư mục% temp% và nhận được tin nhắn này:Windows Phone profiling - nhật ký phân tích cú pháp không thành công

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() 

Có thể ai đó đã phải đối mặt với vấn đề này và tìm thấy một số giải pháp?

Cảm ơn.

Trả lời

2

Tôi cũng gặp sự cố này. Tôi đã xóa tất cả các tệp khỏi thư mục temp và hồ sơ của tôi bắt đầu hoạt động trở lại. Không chắc đó có phải là sự trùng hợp hay không nhưng có lẽ đáng để thử.

+0

thư mục tạm thời nào bạn đang đề cập đến? –

+0

C: \ Users \ \ AppData \ Local \ Temp – sast

Các vấn đề liên quan