什么是"第一次机会异常"?

编程入门 行业动态 更新时间:2024-10-26 22:22:27
本文介绍了什么是"第一次机会异常"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

到底什么是第一次机会异常?如何以及在哪里它在.NET程序产生的?为什么说它是由特殊的名字叫(什么机会我们在谈论什么)?

What exactly is a first chance exception? How and where does it originate in a .NET program? And why is it called by that peculiar name (what 'chance' are we talking about)?

推荐答案

这是一个调试的概念。基本上抛出异常给调试器的第一的,然后到实际的节目里,如果它不处理它被扔在了调试器的第二的时间,给你的机会的做一些与它之前,你的IDE和应用程序本身之后。这似乎是一个Microsoft Visual Studio的发明

It's a debugging concept. Basically exceptions are thrown to the debugger first and then to the actual program where if it isn't handled it gets thrown to the debugger a second time, giving you a chance to do something with it in your IDE before and after the application itself. This appears to be a Microsoft Visual Studio invention.

更多推荐

什么是"第一次机会异常"?

本文发布于:2023-06-03 12:14:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/473716.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:异常   机会   QUOT

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!