[Lazarus] Any tips to speed up Lazarus->GDB debugger?

Luca Olivetti luca at wetron.es
Fri Jan 12 07:28:19 CET 2018

El 11/01/18 a les 18:45, Martin Frb via Lazarus ha escrit:
> On 11/01/2018 15:13, Dennis via Lazarus wrote:
>> I remember in Delphi 5, they had an option of whether to use Debug dcu 
>> (of the main VCL units/objects files).
>> Is there a similar switch I can use to disable debugger in all, except 
>> my own source code so as to speed up the debugger?
> To add to my other reply
> You can compile LCL, and package without debug info.
> See package options for each package, or additions and overrides.
> (and you can modify lib path, so maybe keep several versions...)
> If you do, you may save 1 second of the start time. (actually not sure 
> if the time is saved during start, or at some later point)

And then lose 10 minutes because you need to trace a routine in the LCL. 
And an hour more because you discover that the routine is actually in 
the RTL ;-)


Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007

More information about the Lazarus mailing list