| | 105 | === Disabling JIT dialogs on the buildslave === |
| | 106 | |
| | 107 | If you are running tests that occasionally fail with exceptions on the buildslave, you will want to disable the Just-In-Time (JIT) debugger that is configured with Visual Studio. When an unhandled exception occurs, the JIT will launch a dialog that will wait for user confirmation, effectively halting your build. |
| | 108 | |
| | 109 | Follow these steps to disable the JIT: |
| | 110 | |
| | 111 | 1. Run regedit (as Administrator) |
| | 112 | 2. DELETE HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebugDebugger |
| | 113 | 3. DELETE HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkDbgManagedDebugger |
| | 114 | 4. SET HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkDbgJITDebugLaunchSetting to 0x1 (right click value, select Modify, hexadecimal, 1), ok |
| | 115 | 5. If you are running a 64 bit version of windows DELETE HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebugDebugger |
| | 116 | 6. If you are running a 64 bit version of windows DELETE HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFrameworkDbgManagedDebugger |
| | 117 | 7. Reboot |
| | 118 | |
| | 119 | These settings are clarified at the following two sites. It should be noted that the registry changes from BOTH sites must be done. |
| | 120 | http://msdn.microsoft.com/en-us/library/2ac5yxx6(v=VS.90).aspx |
| | 121 | http://msdn.microsoft.com/en-us/library/5hs4b7a6(v=VS.90).aspx |
| | 122 | |
| | 123 | |
| | 124 | |