Sign in Join
FPDoc Onlineexperiment

lineinfo unit

Return address line information.

The lineinfo provides a routine that reads the debug information of an executable (if any exists) and returns source code information about this address. It works with Stabs debug information. Note that this unit is not thread-safe, and that its behaviour is undefined if multiple threads try to write a backtrace at the same time.

For DWARF debug information, the lnfodwrf unit must be used.

Procedures and functions

CloseStabsprocedureClose stabs info file descriptor.
GetLineInfofunctionReturn source line information about an address.
StabBackTraceStrfunctionGet a backtrace from an address.

Types

CodePointertypeCode pointer type alias.

Variables

AllowReuseOfLineInfoDatavariableSpeed up LineInfo reading by reusing already-read information.

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