| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Return stack trace
Source position: systemh.inc line 1403
function CaptureBacktrace(  | 
skipframes: SizeInt;  | 
count: SizeInt;  | 
frames: PCodePointer  | 
):SizeInt;  | 
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.
  | 
Get Program Counter address  | 
|
  | 
Return caller stack infomation  | 
|
  | 
Return the address of the caller.  | 
|
  | 
Return the frame pointer of the caller  |