[Qt-creator] Very slow GDB when stepping into functions

Peter Kümmel syntheticpp at gmx.net
Fri Feb 5 21:46:40 CET 2010


Am Freitag, den 05.02.2010, 21:00 +0100 schrieb Andre Poenitz:
> On Fri, Feb 05, 2010 at 08:29:38PM +0100, Peter Kümmel wrote:
> > > That's interesting as I recently looked into a similar problem and
> > > tracked it down to the use of the wrong algorithm for symbol lookup, see
> > > http://sourceware.org/bugzilla/show_bug.cgi?id=11198 .
> > 
> > This fix improves things, but installing libc5-dbg is still better, 
> > see may last mail.
> 
> So there are two unrelated issues.

Yes, I also think so.

>  
> > > PS: Of course we can add the hint to the FAQ.
> > 
> > Thanks, it works also on other Debian based system. But your comment
> > that it related to the mentioned bug is not 100% correct.
> 
> Comments can be fixed ;-)
>  
> > Is it possible to debug gdb with qtcreater?
> 
> Yes, I do it every now and then.
> 
> I usually create a .pro using 'qmake -project' to be able to use
> Creator for code navigation, but run 'make' outside Creator.
> Then either start gdb outside and attach Creator to debug it
> or remove all build steps and start directly.

Great, didn't know I could attach.

> 
> > How do I have to rebuild gdb?
> 
> Yes, preferably confgured after export CFLAGS=-g or something to
> the same effect.

Thanks, seems I've asked on the list before I thought about myself ;)

Peter





More information about the Qt-creator-old mailing list