Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I enable the memory leak tracking with FastMM in DUnit?

In the GUI test runner, the menu items for memory leak checking are inactive (grayed out). Is there a special switch I have not found yet to activate them?

Using DUnit 9.4 (from Delphi 2009 or from the sourceforge Subversion repository) and FastMM4.92

like image 823
mjn Avatar asked Mar 26 '09 13:03

mjn


1 Answers

You have to build your DUnit GUI-testrunner with the FASTMM and ManualLeakReportingControl directive. This will enable the memoryleak items (Take a look in GUITestRunner.pas).

like image 60
The_Fox Avatar answered Nov 09 '22 00:11

The_Fox