This topic applies to:
Visual Studio Edition
Visual Basic
C#
C++
J#
Express
No
Standard
Yes
Pro/Team
You can enable Just-In-Time debugging to launch the Visual Studio debugger automatically when a program, running outside Visual Studio, encounters a fatal error.
On the Tools menu, click Options.
In the Options dialog box, select the Debugging folder.
In the Debugging folder, select the Just-In-Time page.
In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script.
To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.
Click OK.
If you agree with the guys above, you need to use the Options menu in Visual Studio.
Just open a copy of Visual Studio and follow this instructions from the Options menu.
I have no idea how the just-in-time debugger is suppose to help the general coding community. Maybe if you are trying to write a virus in assembler and it throws a error, you can use this to see what write protected memory you tried to access, so you can use another address.
Cheers!
On this page, it shows the registry settings that affect this.
http://msdn.microsoft.com/en-us/library/5hs4b7a6(VS.80).aspx
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
Searching google I found a hack that suggests the following reg key value be set to 1 to disable the JIT
(and this works for me)