How to build highly-debuggable C++ binaries
This article is tightly scoped to cover one topic with specific, actionable advice: How to configure your C++ toolchain to produce binaries that are highly-debuggable with respect to your current bug. Follow this link to skip the intro text and jump directly to the advice.
C++ has a notoriously complicated compilation model, and it has no standard build tooling or package manager. It can be an ordeal to even get a C++ project to compile, and it is even harder to configure one to produce debuggab...
Read more at dhashe.com