[Lazarus] HEAPTRACE IFDEF

Michael Van Canneyt michael at freepascal.org
Tue May 3 16:04:03 CEST 2016



On Tue, 3 May 2016, Aradeonas 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?

We do have documentation, you know. Is it so much to ask to look at it ?

http://www.freepascal.org/docs-html/current/prog/progsu128.html


> 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.

The IDE cannot do this, since it is known only when the compiler is invoked.

Michael.




More information about the Lazarus mailing list