debugger malfunctioning

Mahmood Naderan nt_mahmood at yahoo.com
Sat Jan 22 13:02:18 GMT 2011


>try changing it to:
>GCC_OPTFLAGS=-ggdb
 Yes thank you. All the abnormal behaviors I had stated are now vanished.

A note to Vladimir Prus:
That Internal error I asked in my previous post is also vanished :) The reason 
was using -O3.

// Naderan *Mahmood;




________________________________
From: Artur K. <nemerle5 at gmail.com>
To: kdevelop at kdevelop.org
Sent: Sat, January 22, 2011 3:59:11 PM
Subject: Re: debugger malfunctioning

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.

_______________________________________________
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/20110122/026aaae4/attachment.html>


More information about the KDevelop mailing list