JCL Help:JclCreateStackList@Boolean@Integer@Pointer

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Creates a stack list.


Pascal

 function JclCreateStackList(Raw: Boolean; AIgnoreLevels: Integer; FirstCaller: Pointer): TJclStackInfoList; overload;
function JclCreateStackList(Raw: Boolean; AIgnoreLevels: Integer; FirstCaller: Pointer; DelayedTrace: Boolean): TJclStackInfoList; overload;
function JclCreateStackList(Raw: Boolean; AIgnoreLevels: Integer; FirstCaller: Pointer; DelayedTrace: Boolean; BaseOfStack: Pointer): TJclStackInfoList; overload;
function JclCreateStackList(Raw: Boolean; AIgnoreLevels: Integer; FirstCaller: Pointer; DelayedTrace: Boolean; BaseOfStack: Pointer; TopOfStack: Pointer): TJclStackInfoList; overload;


Parameters

Parameters Description
Raw: Boolean When set to False, the stack is traced by means of the stack frame, when set to True, all DWORDs are checked for valid caller addresses.
AIgnoreLevels: Integer Number of callers to ignore upon tracing.
FirstCaller: Pointer If not nil, an explicit TJclStackInfoItem is added to the list, pointing to the FirstCaller.


Return Value

A reference to the stack list.


Description

JclCreateStackList creates a list of all stack frames. The resulting TJclStackInfoList is also stored internally and can be obtained again by calling JclLastExceptStackList.


About

Unit

JclDebug


Donator

Hallvard Vassbotn


Notes

Do not free this object, it's freed internally when a new one needs to be created.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page