Debugging Builds
Many teams find it helpful to create a debugging build, which differs from a release build in various ways designed to help reproduce and diagnose problems.
Compiler writers go to great lengths to ensure that switching optimization off, or additional checks on, doesn’t change behavior. And if you care about preserving your nerves, you’ll do the same for your assertions and logging.
But the simple truth of the matter is that a debugging build is different from the production build. Most of the time it won’t matter, but bear it in mind. If you have problems getting a bug to reproduce ...
Get Debug It! now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.