[Qt-creator] Slow debugging with Qt Creator

Matthias Ettrich matthias.ettrich at nokia.com
Wed Jul 22 16:55:24 CEST 2009


getOpenFileName() is a very complex function. If you are running Gnome, it 
will instantiate the native desktop file dialog.

 Matthias

On Wednesday 22 July 2009 16:47:21 ext Maximilien Renard wrote:
> Ok, sorry for this very quick other answer but the menus etc. have
> just been displayed.
>
> The getOpenFileName is as slow as it was when debugging under
> QtCreator and the whole program seems to be slower.
>
> What should I do ?
>
> Thanks,
>
>
> Maximilien
>
> 2009/7/22 Maximilien Renard <iixamaxii at gmail.com>:
> > Hi,
> >
> > Here's the output of gdb when I launch it using the konsole.
> >
> > ixm at ixm-laptop:~/Documents/cpp$ gdb ./project/project
> > GNU gdb 6.8-debian
> > Copyright (C) 2008 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later
> > <http://gnu.org/licenses/gpl.html> This is free software: you are free to
> > change and redistribute it. There is NO WARRANTY, to the extent permitted
> > by law.  Type "show copying" and "show warranty" for details.
> > This GDB was configured as "i486-linux-gnu"...
> > (gdb) run
> > Starting program: /home/ixm/Documents/cpp/project/project
> > [Thread debugging using libthread_db enabled]
> > [New Thread 0xb5b51730 (LWP 20498)]
> >
> > The app starts but nothing is displayed except the application's
> > border and its title bar (no menu, no toolbar,...).
> >
> > Since it says 2008, I guess it's not an too old version of gdb.
> >
> > Anyway, it's maybe something I've made wrong but I cannot remember
> > having changed anything in this part of my program and I have no idea
> > what I should do.
> >
> > Thank you very much,
> >
> >
> > Maximilien
> >
> > 2009/7/22 Matthias Ettrich <matthias.ettrich at nokia.com>:
> >> Maximilien,
> >>
> >> on what OS platform are you, and what debugger are you using?
> >>
> >> Keep in mind that creator calls e.g. gdb in the background. Some gdb
> >> versions, especially elder versions, have severe performance issues wrt
> >> symbol or plugin loading.
> >>
> >> Can you please debug your application on the command line, and verify
> >> that you won't get the 6 minute delay there?
> >>
> >>
> >>  Matthias
> >>
> >>
> >> _______________________________________________
> >> Qt-creator mailing list
> >> Qt-creator at trolltech.com
> >> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator





More information about the Qt-creator-old mailing list