Sign in Join
FPDoc Onlineexperiment

UseHeapTrace constant

In unit heaptrc

If set to False, the heap trace will be disabled.

Declaration

pascal
UseHeapTrace: Boolean = True

Description

This variable can be set to False at program startup to disable the heap trace functionality completely. Because this variable is checked in the initialization section of the unit, the only way to do this is through the help of an environment variable, which must be set before the program starts. It follows that setting the variable to False while the main program is executed will have no effect other than not displaying the heap usage report at program exit.

Note that this disables the heaptrace functionality completely: the tracing heapmanager is simply not installed if the variable is set to False.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.