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

Control what happens when an unhandled exception occurs

Total Hit ( 3079)

Rate this article:     Poor     Excellent 

 Submit Your Question/Comment about this article

Rating


 


By default, when an unhandled exception occurs in a managed application, a dialog box appears that asks you whether you want to debug the application with one of the debuggers that are listed in a listbox. (Notice that Windows Forms applications display a different dialog box.)

The behavior of the .NET framework in this case can be controlled by changing the DbgJITDebugLaunchSetting value following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
This value can be assigned one of the following three values: 0 - a simple message box appears and asks the end user whether to Continue or to Attach a debugger. In the former cases a stack dump is produced and the application terminates. In the latter case the debugger listed in the DbgManagedDebugger registry key is lauched.
1 - the application is terminated and a stack dump is produced.

2 - the debugger listed in the DbgManagedDebugger registry key is lauched


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.