[Lazarus] HEAPTRACE IFDEF

Mattias Gaertner nc-gaertnma at netcologne.de
Tue May 3 16:04:11 CEST 2016


On Tue, 03 May 2016 06:49:42 -0700
Aradeonas <aradeonas at operamail.com> wrote:

> > AFAIK, it's because it's not technically possible.
> As an amateur can I ask why?
> > Use {$IF DECLARED(useheaptrace)} in your main project file (just like
> > lazarus.pp uses it).
> Very interesting! I didnt know this ability,Thanks. How it works? what
> key names it has?

UseHeapTrace is a variable in unit heaptrc, which is silently used
when compiling with -gh.

> But it has a problem, if you use this define IDE wont color it properly
> like you use normal defines, it that case it if define is not true it
> will pale.

$IF DECLARED is not supported by codetools.

Mattias




More information about the Lazarus mailing list