Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: C++
Expertise: All
Sep 25, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Leave a Grain of Debugging Info in Your Release Version

It may be tempting to squeeze an extra pint of performance by removing all debug information from the release version. However, it's recommended to leave minimal debugging info even in the release version. On certain platforms, release versions carry by default a small baggage of "traceback" information that enables the runtime environment to emit a call stack in a human-readable format. Without this information, you won't have any information about the actual cause of the crash nor will you be able to reproduce it. Remember that even if an application seems stable on your machine, when it's shipped to a customer mysterious crashes may occur due to different settings, incompatible dll's, different device drivers and memory sizes.
Danny Kalev
Thanks for your registration, follow us on our social networks to keep up-to-date