Reader Level:

Better Exception Handling in Visual Studio 2005

By Mahesh Chand on November 16, 2005
With many new cool features, components, controls, and tools, Visual Studio 2005 definitively is a winner. In this article, I discuss the new exception handling dialog in Visual Studio 2005.
  • 0
  • 0
  • 16300

Better exception handling is one more nice feature in Visual Studio 2005. You remember the exception dialog in prior versions of Visual Studio which used to popup whenever an exception was occurred when you were compiling and debugging the code.

Now the exception dialog is pretty neat. Its a modeless dialog which means you can keep working without getting rid of this dialog. Besides this, it is transparent and you can move it wherever you want. So when you are debugging and exception occurs, you can put it in a corner and keep doing your work.

In my code, an exception occurred and this is how the exception dialog looks like:









Figure 1. Exception dialog.

I move the dialog and now it looks like the following:

Figure 1. Exception dialog after move.

You can click on View Details link to see more details about the exception.

Besides the exception error, this dialog also shows you the tips and help topics related to that error. You can simply click on these links to learn more about these errors.

I personally am not fond of pink color ;) but its a pretty cool new feature in Visual Studio 2005.

Mahesh Chand

Mahesh Chand is founder of C# Corner. C# Corner founded in 1999 is a FREE member contributions based open platform for developers to solve problems, learn new technology and hang out.  Mahesh has been awar... Read more


Trending up