debugger malfunctioning

Artur K. nemerle5 at gmail.com
Sat Jan 22 12:29:11 GMT 2011


On Sat, Jan 22, 2011 at 12:51 PM, Mahmood Naderan <nt_mahmood at yahoo.com> wrote:
>>Are you sure the program is not built with optimization?
> Yes it had. The new problem is when I comment this line:
>
> GCC_OPTFLAGS=-O3 -funroll-loops -fno-strict-aliasing -ggdb
> and recompile agian and attach the process to kdevelop, it does stop on
> breakpoints. I have set several breakpoints in the code but none of them is
> able to stop the process.
>
> Do you have any idea about that?
> // Naderan *Mahmood;

Hi.
Instead of commenting out the line
GCC_OPTFLAGS=-O3 -funroll-loops -fno-strict-aliasing -ggdb
try changing it to:
GCC_OPTFLAGS=-ggdb

Regards
A.K.




More information about the KDevelop mailing list