Value optimized out

Mahmood Naderan mahmood.nt at gmail.com
Sat May 14 10:46:32 UTC 2011


ok thanks. I removed the -O switch. I didn't notice that the code compiled
in optimized mode.

// Naderan *Mahmood;



On Sat, May 14, 2011 at 2:47 PM, Pradeep K. Shima <pkshima at gmail.com> wrote:

> That's standard debugger behaviour.
> Nothing special about kdevelop.
> The compiler basically optimized the code so that these variables are
> replaced with registers so debugger has no idea where the value is.
>
> On 14 May 2011 15:29, "Mahmood Naderan" <mahmood.nt at gmail.com> wrote:
>
> Hi,
> During debug, some variables are set to this:
>
> counter      <Value optimized out>
> input_num  <Value optimized out>
>
> They are integer and have value at the pointer in the debugger. Any idea
> about that?
> // Naderan *Mahmood;
>
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20110514/ccfe850f/attachment.html>


More information about the KDevelop mailing list