每次将鼠标悬停在调试模式下的变量时,MS Visual Studio Express 2012桌面都会崩溃 - c#

导致崩溃的代码示例

每次将鼠标悬停在调试模式下的变量时,MS Visual Studio Express 2012桌面都会崩溃 - c#

当我将鼠标悬停在previousKey上时,它会崩溃

我以前使用过很多次,直到现在它从未崩溃过。

崩溃信息

应用事件名称:BEX

应用程序名称:WDExpress.exe

应用程式版本:11.0.50727.42

应用时间戳:503ebe9f

错误模块的名称:StackHash_0a9e

错误模块的版本:0.0.0.0

异常移位:71d071c6

异常代码:c0000005

异常数据:00000008

作业系统版本:6.1.7601.2.1.0.256.1

语言代码:1049

附加数据1:0a9e

附加数据2:0a9e372d3b4ad19135b953a78882e789

附加数据3:0a9e

附加数据4:0a9e372d3b4ad19135b953a78882e789

事件记录说

应用程序因未处理的异常而终止

异常信息:System.AccessViolationException

堆栈:
在Microsoft.VisualStudio.Editor.Implementation.IVsCustomDataTip.DisplayDataTip()中

Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.HandoffNoDefaultTipToDebugger(Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession)

Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.TryGetQuickInfoFromFilter(Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession,Microsoft.VisualStudio.TextManager.Interop.TextSpan [],System.String ByRef)

Microsoft.VisualStudio.Editor.Implementation.ShimQuickInfoSource.AugmentQuickInfoSession(Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession,System.Collections.Generic.IList`1,Microsoft.VisualStudio.Text.ITrackingSpan ByRef)

Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate()

Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start()

Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultQuickInfoController.OnTextView_MouseHover(System.Object,Microsoft.VisualStudio.Text.Editor.MouseHoverEventArgs)

Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()

Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.OnHoverTimer(System.Object,System.EventArgs)

在System.Windows.Threading.DispatcherTimer.FireTick(System.Object)中

System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,System.Object,Int32)

MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object,System.Delegate,System.Object,Int32,System.Delegate)

在System.Windows.Threading.DispatcherOperation.InvokeImpl()中

System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)

在System.Threading.ExecutionContext.RunInternal中(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值)

在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值)中

在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)中
在System.Windows.Threading.DispatcherOperation.Invoke()中

在System.Windows.Threading.Dispatcher.ProcessQueue()中

在System.Windows.Threading.Dispatcher.WndProcHook中(IntPtr,Int32,IntPtr,IntPtr,布尔ByRef)

在MS.Win32.HwndWrapper.WndProc(IntPtr,Int32,IntPtr,IntPtr,布尔ByRef)中
在MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)中

System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,System.Object,Int32)

在S.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object,System.Delegate,System.Object,Int32,System.Delegate)

在System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority,System.TimeSpan,System.Delegate,System.Object,Int32中)
MS.Win32.HwndSubclass.SubclassWndProc(IntPtr,Int32,IntPtr,IntPtr)

Internet建议禁用wdexpress.exe的某些数据保护功能,但它说不能为此应用程序禁用它

win7x64sp1

编辑

当我打开表单编辑选项卡时,它也会冻结并崩溃,该选项卡丢失所有文本并且不响应单击。

活动名称:APPCRASH

应用名称:WDExpress.exe

应用程式版本:11.0.50727.42

错误模块的名称:StackHash_cdcd

异常代码:c000041d

附加信息1:cdcd

附加信息2:cdcdb730d0d6bfcb220c35fc65530ab9

附加信息3:422d

附加信息4:422d51df37da39da33ec5e864c8278c3

c#参考方案

如果在创建新的简单项目期间VS崩溃,您可能会考虑VS设置或其他设置,因为实际上您并未调试应用程序。这不是VS调试器工具的问题。你是否同意我的观点?

工具->导入和导出设置向导->重置所有设置->选择“否,仅重置设置,覆盖我的当前设置”->选择默认设置。然后以管理员身份运行VS,重新创建一个新的简单应用,测试结果。

另请确保这不是性能问题,您可以访问任务管理器并关闭其他占用大量内存/ CPU的第三方进程。

如果仍然没有帮助,我建议您修复VS,也请为VS2012安装更新5。

https://www.microsoft.com/en-sg/download/details.aspx?id=48708

Visual Studio Code可以增量编译Java Web App项目吗? - java

我是Visual Studio Code的新手。我正在尝试将其与使用Maven的现有Java Web应用程序项目一起使用。我已经下载了推荐的Java扩展,例如Java Extension Pack,Java Maven和Java Tomcat。在IntelliJ(我通常的IDE)中,我可以很快地从Java的少量编辑转到Tomcat中刷新的WAR。如果我编辑文…

在Visual Studio Proff中调试本机代码 - c#

我们在这里使用的解决方案包括C#中的一个项目和C中的另一个项目。是否可以在Visual Studio中调试c代码? c#参考方案 当然,如果您有源代码,请从中创建一个项目,作为调试进行编译(添加断点,监视...)并进行调试。

Visual Studio,ASP.Net(.Net Framework),并在项目中包含NuGet安装的软件包 - javascript

我在Visual Studio 2017中有一个主要由JavaScript组成的ASP.Net(.Net Framework)MVC Web应用程序。我已经使用NuGet安装了一个软件包(特别是marker-animate-unobtrusive软件包。)文档继续说我应该在我的HTML页面中包含JavaScript,但是在仔细检查了NuGet的内容后,我不确…

无法创建应用存档。这种类型的CollectionView不支持从与 - c#

在Visual Studio 2017中,尝试归档Xamarin android项目时,成功构建后出现以下错误:无法创建应用档案“ MyArchive”。这种类型的CollectionView不支持从与Dispatcher线程不同的线程对其SourceCollection进行更改。其他人看到此错误了吗? c#大神给出的解决方案 我遇到了同样的问题。我唯一可以…

开始C#注释块的星号数 - c#

在Visual Studio 2010中的C#程序中,我有一个大的,多行注释块,从 / **通过注释块的一部分是看起来像这样的一行。 。 。 this.afIODisplay =“ <” + lineToParse + Environment.NewLine + this.afIODisplay;在小于号的点,颜色从注释绿色变为灰色,并且编译器发出警告…