ok thanks. I removed the -O switch. I didn't notice that the code compiled in optimized mode.<br><br clear="all">// Naderan *Mahmood;<br><br>
<br><br><div class="gmail_quote">On Sat, May 14, 2011 at 2:47 PM, Pradeep K. Shima <span dir="ltr"><<a href="mailto:pkshima@gmail.com">pkshima@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<p>That's standard debugger behaviour. <br>
Nothing special about kdevelop. <br>
The compiler basically optimized the code so that these variables are replaced with registers so debugger has no idea where the value is.</p>
<p></p><blockquote type="cite"><div><div></div><div class="h5">On 14 May 2011 15:29, "Mahmood Naderan" <<a href="mailto:mahmood.nt@gmail.com" target="_blank">mahmood.nt@gmail.com</a>> wrote:<br><br>Hi,<br>

During debug, some variables are set to this:<br><br>
counter      <Value optimized out><br>input_num  <Value optimized out><br><br>They are integer and have value at the pointer in the debugger. Any idea about that?<br clear="all"><font color="#888888">

// Naderan *Mahmood;<br><br>
</font><br></div></div>_______________________________________________<br>
kdevelop mailing list<br>
<a href="mailto:kdevelop@kdevelop.org" target="_blank">kdevelop@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop</a><br>
<br></blockquote><p></p>
<br>_______________________________________________<br>
kdevelop mailing list<br>
<a href="mailto:kdevelop@kdevelop.org">kdevelop@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop</a><br>
<br></blockquote></div><br>