We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add JclStackInfoList: TJclStackInfoList; to baselib: function GetCallStack: String; var JclStackInfoList: TJclStackInfoList; StringList: TStringList; begin JclStackInfoList := JclCreateStackList(True, 3, Caller(0, False)); try StringList := TStringList.Create; try JclStackInfoList.AddToStrings(StringList, True, False, True, True); Result := StringList.Text; finally StringList.Free; end; finally JclStackInfoList.Free; end; end;
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/43774927/delphi-trying-to-get-stacktrace-for-an-exception
Sorry, something went wrong.
No branches or pull requests
add JclStackInfoList: TJclStackInfoList; to baselib:
function GetCallStack: String;
var
JclStackInfoList: TJclStackInfoList;
StringList: TStringList;
begin
JclStackInfoList := JclCreateStackList(True, 3, Caller(0, False));
try
StringList := TStringList.Create;
try
JclStackInfoList.AddToStrings(StringList, True, False, True, True);
Result := StringList.Text;
finally
StringList.Free;
end;
finally
JclStackInfoList.Free;
end;
end;
The text was updated successfully, but these errors were encountered: