[Qt-creator] Slow debugging with Qt Creator
Michael Krueger
mickrulist at voipfuture.com
Wed Jul 22 17:17:56 CEST 2009
I'm not sure if it's related. But I have the same when using KDevelop. I use a Kubuntu Linux which usually does ship
with it's own version of Qt. Since we write some commercial applications we did install our own commercial Qt version
into the home directory. Changing the environment variables PATH and LD_LIBRARY_PATH and QTDIR to point to the local
commercial Qt version we have been able to compile and build our products. However when we tried to debug UI
applications like that, it was also terribly slow. Because of that we now usually build and debug using the Qt library
version available on the system because it seems that gdb is working the best with that. Only when the final release is
prepared we switch to the commercial Qt version rebuild the code and then do the final test without debugger on the
release build.
Not sure if it's related or if it would make sense in your case.
Michael
Maximilien Renard schrieb:
> 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