[Qt-creator] Slow debugging with Qt Creator

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


I've just installed the repository version of Qt and the debugging is
very quick.

So it seems to be related to the self compiled version of Qt.

Should I check something else ?

2009/7/22 GreyGeek <GreyGeek at earthlink.net>:
> I am running Kubuntu 9.04, fully updated.  In the repository is the
> 1.0.0 version of Qt, which I installed when it was made available.  I
> have a couple projects under Qt and the debug mode works very quickly
> and very well.
> GG
>
> Michael Krueger wrote:
>> 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
>>>>>
>>>>>
>>
>
>
> --
> ----
> GreyGeek
>
> “They’ll get sort of addicted, and then we’ll somehow figure out how to collect sometime in the next decade.”
>
> –Bill Gates
>
>
> “Bill Gates looks at everything as something that should be his. He acts in any way he can to make it his. It can be an idea, market share, or a contract. There is not an ounce of conscientiousness or compassion in him. The notion of fairness means nothing to him. The only thing he understands is leverage.”
>
> –Philippe Kahn
>
> I don't think it's any coincidence that Microsoft achieved dominance in the American market during the same period that bottled water became omnipresent. In both instances, clever marketing convinced the general public that something that was clean, safe and free was inferior to a product encased in plastic.
>
> _______________________________________________
> 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