MSVC Crash Debugging
From Hercules Wiki
1. In the 'Solution Explorer' sidebar, right click map-server
2. Hit 'Set as StartUp Project'
3. right click map-server again, hit 'Properties'
4. In the Properties window, within 'Configuration Properties' -> 'Debugging', change 'Working Directory' to '$(SolutionDir)', then save & close the Properties window.
5. Hit 'F5' it will launch map server under debug mode, once it crashes a 'Call Stack' window will be populated with useful debug information.
Footnote
Written by a non-MSVC user, please improve at will, and feel free to dump this footnote when you do so.