Visual Studio Express 2012引发异常时令人讨厌的弹出对话框 [英] Visual Studio Express 2012 annoying pop-up dialog on thrown exception

查看:105
本文介绍了Visual Studio Express 2012引发异常时令人讨厌的弹出对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题描述:

每当引发异常但未捕获到异常时,就会弹出一个对话框.我希望Visual Studio Express 2012能够中断并停止使用此模式对话框窗口来获取我的所有输入.对话框示例:

Whenever an exception is thrown and not catched a dialog pops up. I want Visual Studio Express 2012 just to break and stop grabbing all my input with this modal dialog window. Example of the dialog:

想要的解决方案:

VS 2010 不会显示此烦人的弹出窗口,但会显示异常助手.我如何在2012年获得与2010年相同类型的例外休息?即使那不可能,我也确实希望弹出窗口消失,同时保持中断.

VS 2010 does not show this annoying pop-up window but something called exception assistant. How an I can get the same type of break on exceptions in 2012 as in 2010? Even if that's not possible I really want the pop-up to be gone while keeping the break.

我尝试解决此问题的方法:

  1. 在Google以及此处的StackOverflow上搜索解决方案(我使用的一些关键字:visual studio 2012,弹出窗口,窗口,对话框,异常助手,异常,中断)
  2. 在VS 2012上运行修复程序
  3. 卸载和删除设置(文件夹:C:\ Users \<用户名> \ Documents \ Visual Studio 2012),然后进行安装
  4. 工具->导入和导出设置->重置所有设置"
  5. 启用引发异常类型时中断"
  6. 在工具->选项->调试->常规"中更改设置

我正在使用Express版本,不再有例外助手! :(

I'm using the Express edition, no exception assistant anymore! :(

Edit2:

使用AutoHotkey找到了一个(非常丑陋的)解决方法:

Found a (very ugly) workaround using AutoHotkey:

#SingleInstance force
#Persistent
loop
{
    WinWaitActive, Microsoft Visual Studio Express 2012 for Windows Desktop
    WinClose, Microsoft Visual Studio Express 2012 for Windows Desktop
}
return

推荐答案

基于以下论坛的答案,VS 2012 Express不再具有例外助手选项: http ://connect.microsoft.com/VisualStudio/feedback/details/762652/enable-exception-assistant-option-missing-from-vs2012-express-for-desktop

Based off of answers on the following forum, VS 2012 Express no longer has the exception assistant option: http://connect.microsoft.com/VisualStudio/feedback/details/762652/enable-exception-assistant-option-missing-from-vs2012-express-for-desktop

希望我们会在VS Express的未来版本中再次看到它.据我所知,VS 2010 Express仍然可用,2012年可以读取2010年的项目而不会破坏兼容性.因此,如果这对您来说很重要,那么您可以回到2010年来跟踪错误.这并不是一个特别令人兴奋的解决方案,但令我印象深刻的是,微软已经提供了与Express版本一样多的功能.

Hopefully we'll see it back in future versions of VS Express. VS 2010 Express is still available to my knowledge, and 2012 can read 2010 projects without destroying compatibility. So if it's a big deal to you, you can go back to 2010 to trace the bugs. Not a particularly exciting solution, but I'm still impressed that Microsoft has given out as many features as they have in the Express editions.

这篇关于Visual Studio Express 2012引发异常时令人讨厌的弹出对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆