Unit 'heaptrc' Package
[Overview][Constants][Types][Procedures and functions][Index] [#rtl]

SetHeapTraceOutput

Specify filename or text file for heap trace output.

Declaration

Source position: heaptrc.pp line 58

procedure SetHeapTraceOutput(

  const name: string

); overload;

procedure SetHeapTraceOutput(

  var ATextOutput: Text

); overload;

Description

SetHeapTraceOutput using the name argument sets the filename into which heap trace info will be written. You can also use the ATextOutput form, where you pass an initialized text file record, this record will then be used to write the heap trace.

By default information is written to standard error, this function allows you to redirect the information to a file with full filename name or a text file ATextOutput.

Errors

If the file cannot be written to, errors will occur when writing the trace.

See also

SetHeapExtraInfo

  

Store extra information in blocks.


Documentation generated on: Nov 24 2024