Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
The default behavior if an internal assert is hit in the Visual Studio CRTL is to pop up an interactive Abort, Retry, Ignore window. This hangs a build runnings tests forever until someone manually fixes it.
We can change the default behavior by calling:
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
...at process startup.
This can be done in a MONGO_INITIALIZER.