Sign in Join
FPDoc Onlineexperiment

StackTraceAsString function

In unit LazTracer

Gets a string with backtrace information for the specified call stack.

Declaration

pascal
function StackTraceAsString(const AStack: TStackTracePointers; 
 UseCache: Boolean): string

Description

StackTraceAsString is a String function used to get backtrace information for the code addresses specified in AStack. The return value contains lines with the values from GetLineInfo for each of the code addresses.

UseCache indicates if cached line information from an internal AVL tree can be used in the routine. It is passed as an argument in calls to the GetLineInfo routine.

See also

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