I swear I used to remember Visual Studio just breaking on an exception. It would take you straight to the line where the exception was thrown and allowed you to inspect variables just by hovering over them.
Or maybe that was a dream. Or maybe this is a nightmare.
But it's actually not a problem, right, because now instead of it just working all you need to do is go to Debug > Windows > Exception Settings
where you get this mess.
Which has many glaring problems. For example:
- Remember when I said it used to just work?
- I don't have all these Exception types memorized.
- Clicking toggle all on/off removes your previous selections.
Oh and also, clicking this checkbox does absolutely nothing
It used to just work. Is it possible to get it back to just doing that?
2条答案
按热度按时间xurqigkl1#
在异常设置下,转到公共语言运行时异常-〉全部选中。这不会中断您的应用程序,但会显示异常发生的确切行。
06odsfpq2#
根据您发布的第一张图片,应用程序似乎在“外部”代码中抛出了一个异常,因此您可能在调试选项中启用了“Just My Code”。|选项“对话框(”调试\常规“类别),这可能会解决您的问题。