Code: Select all
if TPAInteger(preparedStack)[i1] = 0 then begin
Code: Select all
if TPAPointer(preparedStack)[i1] = nil then begin
I also discovered that FastMM_LogStackTrace is not compatible with the delayStackWalk64 conditional, again for pretty obvious reasons. I can fix that easily enough when I build the FastMM_FullDebugMode DLL but you may wish to consider making madExcept handle that situation more elegantly.