Quick way to toggle 'break on all exceptions' in VS2012?

為{幸葍}努か 提交于 2019-12-06 16:40:15

问题


I regularly find it very useful when debugging to switch on the Common Language Runtime Exceptions: Thrown option in Visual Studio's Debug > Exceptions screen. I'd like a quick way of doing this, since it's always the same checkbox I'm toggling and that screen is very slow to load. In previous versions, it was possible to do this with a macro, but macros have sadly been removed from VS2012. Does anyone know of a quick/easy way to do this with a plugin/extension/keyboard shortcut?


回答1:


Exception Breaker is a Visual Studio (2010, 2012, 2013) plugin created by a fellow SO user for that purpose. It was created after he worried about this issue in a similar question.

It currently works via a toolbar command button as well as a shortcut.

There is a github repository for this project as well.



来源:https://stackoverflow.com/questions/15291811/quick-way-to-toggle-break-on-all-exceptions-in-vs2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!