Sign in Join
FPDoc Onlineexperiment

GetLineInfo function

In unit LazTracer

Gets information about the specified code address.

Declaration

pascal
function GetLineInfo(Addr: Pointer; UseCache: Boolean): string

Arguments

Addr

The code address examined in the routine.

UseCache

Indicates if locally cached line information can be used in the routine.

Function result

String with information about the code address.

Description

GetLineInfo is a String function used to get information about the code address specified in Addr.

UseCache indicates if cached line information from an internal AVL tree can be used in the routine. When UseCache contains False, the BackTraceStrFunc in the lclproc.pas initialization section is called to get the line information for each of the backtrace addresses.

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