Sign in Join
FPDoc Onlineexperiment

lnfodwrf unit

Return address line information.

The lnfodwrf 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 DWARF 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 stabs debug information, the lineinfo unit must be used.

Classes and records

LineInfoCacherecord

Procedures and functions

CloseDwarfprocedureClose DWARF info file descriptor.
DwarfBackTraceStrfunctionGet a backtrace from an address.
GetLineInfofunctionReturn source line information about an address.

Types

CodePointertypeCode pointer type alias.

Variables

AllowReuseOfLineInfoDatavariableSpeed up LineInfo reading by reusing already-read information.
GetLineInfoReturnAddressvariable

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