Sign in Join
FPDoc Onlineexperiment

LazTracer unit

Contains types and routines used to implement exceptions and stack traces.

laztracer.pas contains types and routines used to implement exceptions and stack traces in the Lazarus IDE and Debugger. This file is part of the LazUtils package.

Classes and records

TLineInfoCacheItemrecordRecord type used to store a pointer to a code address and its additional information.

Procedures and functions

GetLineInfofunctionGets information about the specified code address.
GetStackTracefunctionRetrieves backtrace information for code addresses.
GetStackTracePointersprocedureRetrieve the addresses and information for a code address and its callers.
RaiseAndCatchExceptionprocedureRaises an exception that is caught and handled in an application.
RaiseGDBExceptionprocedureRaises an exception in the GDB debugger.
StackTraceAsStringfunctionGets a string with backtrace information for the specified call stack.

Types

PLineInfoCacheItemtypePointer to a TLineInfoCacheItem type.
TStackTracePointerstypeArray type used for Pointers to code addresses.

Uses

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.