你的位置: 码友网首页 / 资讯源列表 / Exception Helper – Rethrown Exceptions

关于[Exception Helper – Rethrown Exceptions]的摘要:

Ever had a bug in an async method that caused an exception? Been frustrated that the debugger doesn’t show you where that exception happened? Or been frustrated when looking at an exception that has an inner exception, but the debugger doesn’t easily show you where that exception was from? Starting from the Visual Studio 2019 16.5 release, the exception helper now contains the original call stack for a rethrown exception. This helps you get to the root cause in your code of any rethrown exceptions. This is especially helpful in the case of async exceptions, which are caught and then re-thrown by framework code.

原文地址: https://devblogs.microsoft.com/visualstudio/exception-helper-rethrown-exceptions/

收录时间: 2020-04-30 浏览量: 779 分类: C#开发

| 0 收藏 | 0