Welcome to MSDN Blogs Sign in | Join | Help

Disabling JIT Debugging Dialog Box

When an executable throws unhandled exception by default JIT-debugging kicks in that allow you to attach a debugger to the dying process and investigate the issue. This useful feature can become annoying during the development where you just want to get the stack dump of the unhandled exception. The Visual Studio 2005 and Vista have JIT debugging enabled by default.

However it is really easy to turn it off. Change the value of the registry key  HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting to 1 to get the stack dump, the process will be terminated after that.

For more information: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconenablingjit-attachdebugging.asp

Published Tuesday, June 20, 2006 6:25 PM by vipulm
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Disabling JIT Debugging Dialog Box

Tuesday, June 20, 2006 9:29 PM by joshwil
You can also do this per environment with the env variable COMPLUS_DbgJITDebugLaunchSetting=1 which is nice because then you don't accidentially leave your machine in a wierd state...

-josh

# re: Disabling JIT Debugging Dialog Box

Wednesday, April 11, 2007 7:35 PM by K Jennings

I am just an ordinary home user.  I am stuck with this debugger Box With Microsoft Net Framework and my installer constantly installs and uninstalls.  I do not want a debugger.  How can I stop this thing?

I am not a professional IT person.  I am in public relations working from home.  I am desperate with this to remove it.  Can you help, not too complicated.  It is appalling that their is a website here for people trying to remove this from their PC's.

kj@jennings-communications.com

# Vipul Modi s Blog Disabling JIT Debugging Dialog Box | patio cushions

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker