如何在 DUnit 中使用 FastMM 启用内存泄漏跟踪?

发布于 2024-07-15 18:24:35 字数 159 浏览 3 评论 0原文

在 GUI 测试运行程序中,用于内存泄漏检查的菜单项是 不活动(灰显)。 有没有一个特殊的开关我还没有找到 激活它们?

使用 DUnit 9.4(来自 Delphi 2009 或来自 sourceforge Subversion 存储库)和 快MM4.92

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

天煞孤星 2024-07-22 18:24:35

您必须使用 FASTMM 和 ManualLeakReportingControl 指令构建 DUnit GUI 测试运行程序。 这将启用内存泄漏项(查看 GUITestRunner.pas)。

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文