[Qt-creator] Slow restart of application while debugging

Zine eddine Bendjaballah zineeddine.b at gmail.com
Fri Mar 6 17:56:53 CET 2009


2009/3/6 Andre Poenitz <andre.poenitz at nokia.com>

> ext Kuiper, Luuk wrote:
> > I'm working on a rather big application. I build that application in
> debug mode. The size of the executable is about 325 MB.
> > When starting the application for debugging, it takes minutes to startup.
> > I can imagine that a lot of processing takes places while and after
> reading the symbol table and to initialize the debugger.
> > But it takes much (and I mean realy much) more time to start up than when
> I use plain gdb (10 to 20 seconds).
>
> Have you played with the "Behaviour of breakpoint" settings in
> the debugger options?
>
> > But my biggest problem is, that when I stop running the application, and
> I want the start it again,
> > without code changes in between, it takes that same amount of time again.
>
>
> > When using DDD with gdb, it takes some time to startup, and almost no
> time to restart the application,
> > because the symbol table is not reloaded every time, only after
> rebuilding the applcation.
>
> > I don't no if that is happening in QtCreator, but it looks to me, that
> some caching can take place.
>
> Currently Creator uses a new gdb instance for each run. This was a
> conscious decision a while ago as gdb itself got into a "confused"
> state fairly often. A new instance gives a clean slate...
>
> I guess there could be an option to keep the old gdb instance,
> though.
>
> In any case, I would be interested in figuring out why the
> first start of the debugger in Creator is so much slower then
> running gdb from the command line. For that it would be nice
> to see the contents of the "Gdb View" in Creator (possibly
> in private mail)
>
> Regards,
> Andre'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>

Please keep us informed by the evolution of the situation.

Cheers.

-- 
Zine Eddine Bendjaballah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090306/c9b1e0d2/attachment.html 


More information about the Qt-creator-old mailing list