Visual Studio 2017 – Exception Helper (II)

Another time saving feature in the new Exception Helper dialog in Visual Studio 2017 is about Inner exceptions. In order to elaborate this, let me first introduce you to what happens when an unhandled exception is encountered when debugging code within Visual Studio 2015 (or earlier version). You basically are presented with a dialog showing the type of exception but without why the exception was thrown as shown in image below.

Of course, there is a link for View Detail that can help you getting more details about that exception. However, some times the actual exception is buried deep inside nested Inner Exception as in the example shown below.


The same scenario in Visual Studio 2017 Exception Helper dialog is presented in following manner. Here you can see that there are three inner exception with the inner most one shown at first.


Of course, you can inspect the other two exceptions in this case by left and right navigation arrows as shown in images below.



Until next, happy debugging!!

This entry was posted in CodeProject, Visual Studio 2017. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s