Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


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

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
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap