[Lazarus] Startup delay of project (Qt)

Vojtěch Čihák vojtech.cihak at atlas.cz
Sat Mar 7 18:31:46 CET 2015


Thanks,
 
setting DisableLoadSymbolsForLibraries to True did the job. Now I'm on ~2 seconds, it is usual time on my Core2Duo @2GHz.
 
V.
 
______________________________________________________________
> Od: Martin Frb <lazarus at mfriebe.de>
> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Datum: 07.03.2015 18:10
> Předmět: Re: [Lazarus] Startup delay of project (Qt)
>
On 07/03/2015 11:37, Vojtěch Čihák wrote:
>   
> Hi,
>   
> I have noticed that Qt projects started with F9 have a delay (about ~12 seconds) before the form appears.
> Its not only with large projects, its also with small projects or even empty forms.
>   
> The delay is there even if nothing in project changes and I start it by F9 repeatedly.
> When I try to execute the same project externally (from Double Commander), it starts in ~ 0,3 s.
>   
> When i switch to GTk2, the startup is within 2 second (from IDE), which is normal.
>   

Just a wild guess.
GDB checks libraries loaded. So depending on the info found on qt libs 
that may take time.

Try 
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#internal-error:_clear_dangling_display_expressions <http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#internal-error:_clear_dangling_display_expressions>
set the field "DisableLoadSymbolsForLibraries" to "True"

Or check in options/debugger/event log what is logged.  Disable "Module"

--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150307/fea3d2ff/attachment-0003.html>


More information about the Lazarus mailing list