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

Martin Frb lazarus at mfriebe.de
Thu Jan 11 18:45:01 CET 2018

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)
Depends on the gdb version. And your computer speed.
With the latest gdb savings will be way below a second....
You can also try gdb 8. That may save half a second.

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

More information about the Lazarus mailing list