Just-In-Time debugging is a feature this launches the Visual Studio debugger automatically when a, running outside Visual Studio, encounters a fatal error. Just-In-Time debugging allows to examine the error before the application was terminated by the operating system. The Visual Studio debugger does not need to is running when the error occurs.
If a error occurs while Just-In-Time debugging are enabled, a dialog box opens, asking if you want to debug the D which debugger you want.
If a program running as another user hits a fatal error, a Security Warning dialog box appears before the debugger. For more information, the warning:attaching to a untrusted Process Can be dangerous.
You can enable Just-In-Time debugging from the Options dialog box. For more information, to:enable/disable Just-In-Time debugging.
For Windows forms, you must also enable Just-In-Time debugging in the Machine.config or Application.exe.config file. For more information, you'll to:enable Just-In-Time debugging for Windows Forms.
After Visual Studio was installed on a server, the default behavior when a unhandled exception occurs was to show an Ex Ception dialog that requires user intervention to either start Just-In-Time debugging or ignore the exception. This may is undesirable for unattended operation. To configure the "server to no longer" show a dialog as a unhandled exception occurs (the default behavior prior to Insta Lling Visual Studio), use the Registry Editor to delete the following registry keys:
Hkey_local_machine/software/microsoft/windows Nt/currentversion/aedebug/debugger
Hkey_local_machine/software/microsoft/.netframework/dbgmanageddebugger
On a 64-bit operating system also delete the following registry keys:
Hkey_local_machine/software/wow6432node/microsoft/windows Nt/currentversion/aedebug/debugger
Hkey_local_machine/software/wow6432node/microsoft/.netframework/dbgmanageddebugger