[Lazarus] Startup delay of project (Qt)

Vojtěch Čihák vojtech.cihak at atlas.cz
Sat Mar 7 17:57:40 CET 2015


Thanks.
 
I execued Lazarus in strace but no it gives no special output.
 
TExternalTool.DoExecute Title="Compile Project, Mode: Default, Target: project1" Process.CurrentDirectory="/home/v1/tmp/" Executable="/usr/local/bin/fpc" Params:
-Tlinux
-Px86_64
-MObjFPC
-Shi
-Cg
-g
-gl
-gh
-l
-vewnhibq
-Fiinclude
-Filib/x86_64-linux
-Fu.
-Fu/home/v1/Lazarus_Qt/lazarus/lcl/units/x86_64-linux/qt
-Fu/home/v1/Lazarus_Qt/lazarus/lcl/units/x86_64-linux
-Fu/home/v1/Lazarus_Qt/lazarus/components/lazutils/lib/x86_64-linux
-Fu/home/v1/Lazarus_Qt/lazarus/packager/units/x86_64-linux
-FUlib/x86_64-linux/
-dLCL
-dLCLqt
-godwarfsets
/home/v1/tmp/project1.lpr
 
[TCompiler.Compile] end
TMainIDE.DoBuildProject compiler time in s: 3,04200032260269
TMainIDE.DoInitProjectRun ProgramFilename=/home/v1/tmp/project1
[TMainIDE.DoRunProject] Debugger=TGDBMIDebugger
[TMainIDE.DoRunProject] END
TGDBMIDebugger.StartDebugging WorkingDir="/home/v1/tmp/"
However, I noticed that when I run project in xterm (via Run parameters ... -> Use launching application), execution is much faster.
 
Also, I tried add 'strace' to command:
 
/usr/bin/xterm -T  'strace Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)
 
It also executes project quickly, but gives no output.
 
V.
______________________________________________________________
> Od: zeljko <zeljko at holobit.net>
> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Datum: 07.03.2015 16:48
> Předmět: Re: [Lazarus] Startup delay of project (Qt)
>

Maybe strace could help.

zeljko




More information about the Lazarus mailing list