hi,
I have my test(executable) and library projects in the same workspace and as i have a problem in a function
i tried to debug that particular function. i am able to watch all the variables but a particular watch variable says <value optimized out> so iam unable to watch that variable.
Could you please help me out.
thanks and regards,
phalgun
Hi Phalgun,
You might have compiled with -O3 and the value might have been optimized out, if there is any redundancy.
Compile with -O0 and try to debug and watch the variable.
Thanks & Regards,
Himateja
hi himatej,
It is in -O0 optimization. but still the problem exists.
thanks,
phalgun
Hi Phalgun.
Please check both library and at file level , if you are building with -O0 option.
Thanks & Regards,
Himateja
Yes both are in -O0 and no the value is constant at ' 0' even though i do some multiply and accumulate operation.
thanks
Hi Phalgun,
Can you please send the complete log of build(make or eclipse).
Thanks & Regards,
Himateja
hey himatej,
it is working now. Thanks a lot.
regards,
phalgun