我正在运行带有更新3的VS-2013 Premium.在调试代码时和尝试进入时,我收到此错误消息框:遇到异常.这可能是由扩展引起的
当输入日志文件(消息中提到路径)时,我得到以下异常:
<entry>
<record>920</record>
<time>2016/11/02 08:21:03.224</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidOperationException: EndBatchUpdate called without BeginBatchUpdate being called

Run Code Online (Sandbox Code Playgroud)
在Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.EndBatchUpdate()
在Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.EndBatchUpdate()
在Microsoft.VisualStudio.Editor.Implementation.MarkerType.UpdateMarkerFormat(字符串markerName,IClassificationType classificationType )在Microsoft.VisualStudio.Empleitor.Empleitor.MarkerManager.GetErrorTags(NormalizedSnapshotSpanCollection spans)的Microsoft.VisualStudio.Editor.Implementation.MarkerType.EnsureLazyStateInitialized()处于Microsoft.VisualStudio.Editor.Implementation.MarkerManager.ErrorTaggerImplementation.GetTags(NormalizedSnapshotSpanCollection spans)at at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1 <GetTagsForBuffer> d__5.MoveNext()
相同的条目超过4次.即使我删除了组件缓存模型,但问题仍未解决:
C:\ Users \用户名\ AppData\Local\Microsoft\VisualStudio\12.0
其他错误如下:891 2016/11/02 08:21:02.023错误编辑器或编辑器扩展System.InvalidOperationException:IWpfTextView.TextViewLines无效.在Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.get_TextViewLines()在Microsoft.VisualStudio.Text.AdornmentLibrary.TextMarkers.Implementation.TextMarkerVisualManager.OnFormatMappingChanged(对象发件人,FormatItemsEventArgs e)上System.EventHandler 1.Invoke(Object sender, TEventArgs e)
 at Microsoft.VisualStudio.Text.Classification.Implementation.ViewSpecificFormatMap.EditorFormatMapChanged(Object sender, FormatItemsEventArgs e)
 at System.EventHandler1.Invoke(Object sender,TEventArgs e)at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.SendChangedEvent()at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.SetProperties(String key,ResourceDictionary properties)在Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.SetExplicitTextProperties(IClassificationType classificationType,TextFormattingRunProperties属性)在Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.AddExplicitTextProperties(IClassificationType classificationType,TextFormattingRunProperties性能,IClassificationType优先级)在 Microsoft.VisualStudio.Editor.Implementation中的Microsoft.VisualStudio.Empleitor.Implementation.FontsAndColorsHelper.UpdateLegacyMarkerClassification(IClassificationFormatMap classificationFormatMap,IClassificationType classificationType,ColorableItemInfo [] info)at Microsoft.VisualStudio.Editor.Implementation.MarkerType.UpdateMarkerFormat(String markerName,IClassificationType classificationType). .MarkerType.EnsureLazyStateInitialized()at Microsoft.VisualStudio.Editor.Implementation.MarkerManager.<GetClassificationTags> d__15.MoveNext()at Microsoft.VisualStudio.Editor.Implementation.TextMarkerViewTagger.<GetTags> d__0.MoveNext()at Microsoft.VisualStudio.Text .Tagging.Implementation.TagAggregator`1 <GetTagsForBuffer> d__5.MoveNext()
<entry>
<record>853</record>
<time>2016/11/02 08:19:10.020</time> …Run Code Online (Sandbox Code Playgroud)