<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Lucida Console'; font-size:9pt; font-weight:400; font-style:normal;">On Donnerstag, 15. Oktober 2009, Andrei Pelinescu-Onciul wrote:<br>
&gt; &gt; Or perhaps it is just me having these issues? Maybe others have secret<br>
&gt; &gt; techniques to share how to avoid such dumb problems?<br>
&gt;<br>
&gt; In some cases optimizations debugging is harder, but statistically<br>
&gt; that number of cases is small (we can figure most backtraces even with<br>
&gt; all the optimizations).<br>
&gt; I would rather have a fully optimized version and if I cannot figure a<br>
&gt; crash, turn on debugging, rather then having a version which works<br>
&gt; perfectly with debugging but sometimes crashes when optimized.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Andrei,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>this is a good point. In kamailio times the default for the code was also "-O9" (which is the same as -O3, IMHO), and debugging enabled. I don't remember any case at the moment where i need to change this because of debugging, so i think this setting is fine.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Regards,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Henning</p></body></html>