任何一个Visual Studio快捷键/宏用于切换处理/未处理的异常的中断? [英] Any have a Visual Studio shortcut/macro for toggling break on handled/unhandled exceptions?

查看:153
本文介绍了任何一个Visual Studio快捷键/宏用于切换处理/未处理的异常的中断?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图写一个宏做相当于

I've been trying to write a macro do do the equivalent of


  1. 点击Ctrl + Alt + E打开例外窗口

  2. 在通用语言运行时异常的投掷列中切换文本框

  3. 点击OK

如果我记录下来,它只记录一行不执行任何操作的宏代码。任何人都知道如何做到这一点?

If I record this, it records only a single line of macro code which doesn't do anything. Anyone know how to do this?

推荐答案

发布了一个类似的问题,并回答了 here 。它适用于所有CLR异常,需要〜1.5秒才能执行。

A similar question was posted and answered here. It works for all CLR exceptions and takes ~1.5s to execute.

这篇关于任何一个Visual Studio快捷键/宏用于切换处理/未处理的异常的中断?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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