<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/01/2018 15:13, Dennis via Lazarus
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9a1d2da4-2ac3-514e-658c-48cc923e833a@avidsoft.com.hk">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<font size="+1">I am using Lazarus 1.8 Win64 , FPC 3.0.4.<br>
As with older versions, debugger is very slow (compared to
Delphi).<br>
<br>
Is there any tricks I can use to speed up the debugger e.g. turn
off debug info of all lazarus units/object files?<br>
<br>
I remember in Delphi 5, they had an option of whether to use
Debug dcu (of the main VCL units/objects files).<br>
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?</font><br>
</blockquote>
<br>
Not really...<br>
<br>
There is the fpdebug package (its part of the install). It is
faster, but very basic, and many things do not work at all.<br>
<br>
Well depends what you want to speed up.<br>
<br>
The time F9 needs to start your app? Sorry nothing can be done.<br>
Same for stepping with F7/F8.<br>
<br>
Note, you can do the next step, before all your watches have been
evaluated. <br>
If you find it irritating to wait for those, you can open the
history, stack and watches window, and use the power button to power
them off.<br>
<br>
<br>
Evaluation of watches.<br>
You can compile with DBG_WITH_GDB_WATCHES<br>
Then you can add watches as follow<br>
>-data-evaluate-expression SomeVariable<br>
<br>
If you have lots of watches, you should notice that they evaluate
faster.<br>
But the IDE will no longer try to deal with the pascal syntax. So
you may have to add deref of some hidden refs yourself.<br>
</body>
</html>