So, you wanna know how good or bad your application really is? Setup your IDE to break on all thrown exceptions. This will really let you know how good or bad your application is. This is also great way to find a pesky unhandled exception.
To tell your IDE to break on thrown exceptions do the following.
Click the Debug toolbar item
Click the Exceptions menu item (Ctrl+Alt+E)
Check the check box for 'Thrown' for the Common Language Runtime Exceptions
After you turn this option on you just may be surprised how many unhandled and swallowed exceptions your application has.
Have fun, and use with caution. You may not like the results you get.
Till next time,
02-04-2008 8:38 AM