Visual studio 2013 如何确定编辑器扩展中VS2013错误的原因

Visual studio 2013 如何确定编辑器扩展中VS2013错误的原因,visual-studio-2013,Visual Studio 2013,当我将调试器附加到网页上时,一旦碰到第一个断点,就会出现一个错误对话框,上面说“遇到异常。这可能是由扩展引起的。” 在ActivityLog.xml中,我发现: type: Error source: Editor or Editor Extension description: System.ArgumentNullException: Value cannot be null.
Parameter name: sp
&am

当我将调试器附加到网页上时,一旦碰到第一个断点,就会出现一个错误对话框,上面说“遇到异常。这可能是由扩展引起的。”

在ActivityLog.xml中,我发现:

type: Error
source: Editor or Editor Extension
description: 
System.ArgumentNullException: Value cannot be null.
Parameter name: sp

at Microsoft.VisualStudio.Shell.ServiceProvider..ctor(IServiceProvider sp, Boolean defaultServices)

at Microsoft.VisualStudio.Web.HTML.Implementation.ContainedLanguage.ContainedLanguageHostAdapter.Microsoft.Web.Editor.ContainedLanguage.IContainedLanguageHost.get_BufferGraph()

at Microsoft.CSS.Editor.SyntaxCheck.CssErrorTag..ctor(ITextBuffer textBuffer, ICssError error)

at Microsoft.CSS.Editor.SyntaxCheck.CssErrorTagger.CollectTags(SnapshotSpan span, CssErrorList errors, SortedRangeList`1 tagSpans)

at Microsoft.CSS.Editor.SyntaxCheck.CssErrorTagger.GetTags(NormalizedSnapshotSpanCollection spans)

at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__5.MoveNext()
所有这些都没有指向我所熟悉的任何东西。

这为我解决了这个问题:

显然内联图像不会粘贴。。。 在工具>选项>编辑器>所有语言>滚动条中
关闭“显示批注”。

附加调试器并查找。禁用Web Essentials扩展。仍在查找此问题的答案。。。Web Essentials扩展不是原因——我遇到了相同的错误,但我没有该扩展。附加调试器不会有任何帮助,因为错误是由Visual Studio本身而不是编辑器中的代码引发的。