If you choose the RelWithDebInfo build type in CMake (There's not really a good reason not to) then all of the debugging info will be added automatically. You just need to compile and remember to copy the pdb files with the executables to the directory where you run the server. Then if you have a crash a stack trace will be dumped to the log file.
The debugger is still handy to see a little more info, but usually with the trace from the log as well as the steps that caused the crash if you know them it can be narrowed down.
|