JclLastExceptStackListToStrings produces an empty string list

Posted by Max on Stack Overflow See other posts from Stack Overflow or by Max
Published on 2011-01-16T12:12:15Z Indexed on 2011/01/16 12:53 UTC
Read the original article Hit count: 140

Filed under:
|

I've installed JCL into Delphi 2010. In the following code

try
  raise Exception.Create('Error Message');
except
  on E: Exception do
  begin
    ResultStatus := JclLastExceptStackListToStrings(sl, True, True, True, True);
  end;
end;

Also I have this call in the initialization section:

initialization
  JclStartExceptionTracking;

ResultStatus is false and sl is empty. I have set options to generate map and .jdbg files. Other functions, like ProcByLevel work fine. Is there something else I need to do to make JclLastExceptStackListToStrings work?

From JclDebug.pas file:

Last modified: $Date:: 2010-09-07 19:43:19 +0200 (mar., 07 sept. 2010) Revision: $Rev:: 3331

© Stack Overflow or respective owner

Related posts about delphi

Related posts about jcl