Sign in Join
FPDoc Onlineexperiment

HaltOnError constant

In unit heaptrc

Halt program on memory fault.

Declaration

pascal
HaltOnError: Boolean = True

Description

If HaltOnError is set to True then an illegal call to FreeMem will cause the memory manager to execute a halt(1) instruction, causing a memory dump. By Default it is set to True.

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