- Mastering Visual Studio 2017
- Kunal Chowdhury
- 114字
- 2021-07-15 17:26:36
The new exception helper
Handling an exception is the most crucial part for a developer and it becomes frustrating when you are unable to define the cause of the same. Previous versions of Visual Studio do not provide more details about the exception other than a generic contextual UI to the developer in debug mode.
Microsoft worked on a redesigned UI for the exception helper to give you more details of the exception in a compact non-modal dialog with quick access to the inner exception. When there is a NullReferenceException, the new UI shows you what was null. Take a look at the following screenshot that shows antivirusList was null, which caused the issue:

推薦閱讀
- JBoss Weld CDI for Java Platform
- Testing with JUnit
- Visual FoxPro 程序設計
- Mastering Scientific Computing with R
- Learn Swift by Building Applications
- JavaScript動態網頁開發詳解
- Responsive Web Design by Example
- 軟件測試技術指南
- C語言程序設計
- RealSenseTM互動開發實戰
- Kivy Cookbook
- CRYENGINE Game Development Blueprints
- Robot Framework Test Automation
- Microsoft HoloLens By Example
- Python計算機視覺與深度學習實戰