CaptureBacktrace function
Return stack trace.
Declaration
function CaptureBacktrace(skipframes: SizeInt; count: SizeInt;
frames: PCodePointer): SizeIntDescription
CaptureBacktrace will fill the array pointed to by
frames with the addresses of a backtrace. It will skip
skipframes frames, and will write at most
count
addresses.
Frames must point to enough memory to hold the
stacktrace, which is
count*sizeof(codepointer) bytes.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
