Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
  Database
Automation
OS/Networking
Graphics
Links
Tools
» Regular Expr Tester
» Free Tools

Exception debugging in Visual Studio .NET
[ All Languages » VB.net »  IDE]

Total Hit ( 2646)

Rate this article:     Poor     Excellent 

 Submit Your Question/Comment about this article

Rating


 


The Visual Studio debugger offers complete control on what happens when an application throws an exception, or calls a .NET method that throws an exception. You set all the relevant options from inside the Exceptions dialog box, which you bring up with the Debug | Exceptions menu command. This dialog shows all the exceptions in the .NET runtime, subdivided by their namespace. Depending on which node you select, you can decide the behavior of all the exceptions, all the exceptions in a namespace, or each individual exception. For each selected exception or group of exceptions you can decide what happens as soon as the exception is thrown (before the application has a chance to deal with it) and what happens if the exception isn't handled anywhere in the application (by default the debugger comes into play only in the latter case). Activating the debugger also for exceptions that the application is going to be handle can be useful to debug the error handler, or to catch exceptions that would go unnoticed otherwise. For example, you can activate this option if a procedure performs way too slow and you suspect that the reason is a high number of exceptions it has to deal with.


Submitted By : Nayan Patel  (Member Since : 5/26/2004 12:23:06 PM)

Job Description : He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting.
View all (893) submissions by this author  (Birth Date : 7/14/1981 )


Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.