GetLastExceptionAddress function

Top  Previous  Next

EurekaLog includes a function called GetLastExceptionAddress, that enables you to obtain the memory address of the last raised exception.

 

Syntax of this function is as follows:

 

function GetLastExceptionAddress: Pointer;

 

Example:

 

 

uses ExceptionLog; // The required unit...

 

begin

   ...

   WriteLn(Format('Last Exception address: %p', [GetLastExceptionAddress]))

   ...

end;