Issue
When using a Windows PC with Microsoft Visual Studio installed, an unexpected error message appears referencing Just-In-Time (JIT) Debugging. This can interrupt normal operations and confuse users unfamiliar with debugging tools.
Product Line
Andover Continuum, EcoStruxure Building Operation, Satchwell BAS & Sigma, Satchwell MicroNet, TAC IA Series, TAC INET, TAC VistaEnvironment
Windows Operating System
Cause
Visual Studio includes a feature called Just-In-Time Debugging, which attempts to launch the debugger when a program crashes or encounters a critical error. If enabled, this feature can interfere with other applications or workflows by prompting unexpected debug dialogs.
Resolution
To disable Just-In-Time Debugging, follow these steps:
- Open Visual Studio.
- Go to the Tools menu and select Options.
- In the Options dialog box:
- Expand the Debugging section.
- Select the Just-In-Time page.
- In the Enable Just-In-Time debugging of these types of code box, uncheck the relevant options:
- Managed
- Native
- Script
- Click OK to apply changes.
Note: Disabling JIT debugging modifies a registry key. You must have Administrator privileges to make this change.