[Qt-creator] Slow debugging with Qt Creator

Maximilien Renard iixamaxii at gmail.com
Wed Jul 22 21:21:09 CEST 2009


Michael Krüger, thank you for your answer. I'm also using a
self-compiled version of Qt free version (not the commercial one) and
I've just enabled -qt-plugin-mysql and -opengl. I do this as an habit
because I didn't find the latest version of Qt in the repositories of
the former versions of Kubuntu. I don't know how it is now because I
didn't even check (I'm using Kubuntu 9.04).
But I will install the repository version of Qt to check if it solves
the problem.

Matthias, I'll let you know when I'll have tried what Michael said.

Thank you !

Maximilien

2009/7/22 Matthias Ettrich <matthias.ettrich at nokia.com>:
> Maximilien,
>
> not that it helps much, but I'm using the same gdb 6.8-debian on ubuntu and
> getOpenFileName (on Gnome, showing the native gnome file dialog) works very
> fast running inside gdb in creator.
>
> We too are interested in what the problem could be.
>
>  Matthias
>
> On Wednesday 22 July 2009 16:55:24 Ettrich Matthias (Nokia-D-Qt/Berlin) wrote:
>> 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
>>
>> _______________________________________________
>> 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