How to integrate madExcept with FastMM4

delphi package - automated exception handling
Post Reply
ertank
Posts: 10
Joined: Sat Feb 17, 2024 8:42 pm

How to integrate madExcept with FastMM4

Post by ertank »

Hello,

Our debug builds always uses FastMM4 as the first unit in project. That is a conditional define and is only for leak detection.
We recently started using madExcept and cannot decide if FastMM4 should still be the first unit in uses list or positioned just after madExcept units.
I couldn't find related details in the documentation.

madExcept settings are per project and not per build configuration and we are to still try and see if we can modify madExcept configuration file in our build server so it auto disables madExcept leaking for release builds.

Thanks & Regards,
Ertan
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Re: How to integrate madExcept with FastMM4

Post by madshi »

The memory manager should be the first unit in the project's uses clause. So yes, if you want to use FastMM4, you should put it first, in front of madExcept.
Post Reply