ols6000 at sbcglobal.net wrote: > I can successfully build Scribus 1.3.3.9cvs from sources (Fedora 6), > but in order to debug it easily, I need to build a non-optimized > version, with all the symbols for Scribus itself and similarly for > the libraries it uses, including source line numbering.
GCC actually does a good job of debugging optimised code, and I often use -O1 when debugging because it actually does a better job. However, sometimes code reordering can be confusing. The binary already has full symbols unless you strip it. What you gain by enabling debug info is instrumentation for setting breakpoints, examining function arguments, exploring memory in meaningful ways, etc. -- Craig Ringer
