Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   DUnit with FastMM: Detecting memory leaks in individual tests. (https://www.delphipraxis.net/208490-dunit-fastmm-detecting-memory-leaks-individual-tests.html)

DP News-Robot 5. Aug 2021 06:10

DUnit with FastMM: Detecting memory leaks in individual tests.
 
Steps: Add the conditional define FASTMM to your project Ensure you have*$(BDS)\source\DUnit\src* in your search path in your project (as otherwise Delphi will pick the pre-built TestFramework.dcu file which was compiled without the FASTMM conditional define) Inside a test method, or the SetUp method of a class, set FailsOnMemoryLeak to True If the SetUp method […]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:16 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz