Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 19,033 times

Contents

Related Categories

Surviving the Release Version - Summary

flounder

Summary

This outlines some rationale and strategies for coping with the debug-vs-release problems that sometimes come up. The simplest one is often the best: just turn off all the optimizations in the release version. Then selectively turn on optimizations for that 1% of your code that might matter. Assuming there is that much of your code that matters. For a lot of the applications we write, so little code matters that you get virtually the same performance for optimized and unoptimized code.

Other References

Check out http://www.cygnus-software.com/papers/release_debugging.html for some additional useful insights by Bruce Dawson. A particularly nice point he makes here is that you should always generate debug symbol information with your release version, so you can actually debug problems in the product. I don't know why I never thought of this, but I didn't! 

Comments

  • very good

    Posted by calc20 on 21 Sep 2005

    Thanks, this article really got me out of trouble.

  • Thats VERY-VERY good

    Posted by hima on 30 Aug 2002

    Thats very usefull article, especially 'Compiler Bugs' & 'Hell DLL' chapters.:cool: