Hendrik Sattler <[EMAIL PROTECTED]> writes:
> Am Sonntag 22 April 2007 22:56 schrieb Russ Allbery:
>> Hendrik Sattler <[EMAIL PROTECTED]> writes:

>>> Did you ever try to debug an application compiled with optimizations?

>> Yes, I do it all the time.

> Hmm, must be personal preference, then. It makes debugging loops and
> such things rather a strange thing. CMake obviously agrees as its
> default setting between release build and debug build act exactly like
> that.

It's certainly not ideal, and the control flow is often obscure.  But it's
better than nothing, and it's way easier to just use dh_strip than to do a
second compile of all the libraries, stash them somewhere, and then play
LD_LIBRARY_PATH games.  I've tracked down a lot of bugs with nothing more
than the current -dbg packages.  Indeed, the reason why there's a
libkrb5-dbg is precisely because I needed it to debug other Kerberos
packages I maintain.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to