O'Reilly logo

Debug It! by Paul Butcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Joe asks:
Joe asks:
But Aren’t Debugging Builds Different?

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required