FastMM 调试前小贴士

本文提供了一套详细的步骤来利用FastMM进行内存泄漏检测。包括配置开发环境、使用特定的DLL文件以及如何通过报告来定位泄漏源。作者还计划进一步测试所有组件以确保无泄漏,并将分享更多关于如何处理特定命令和异常陷阱的细节。
The person who gave the presentation had some excellent tips which 
will save you reading the readme file:

1. In the DPR, make FastMM the first unit in the uses clause.

2. During development, set compiler directive FullDebugMode and then
Build your project.

3. Before you run your project, copy FastMM_FullDebugMode.dll to the
same folder as your EXE (or any place on your Windows path).

4. Under Project > Options > Linker, make sure that a detailed map
file is created.

Run your project and then exit it. If there were memory leaks, you
will receive a report upon exiting your project. Details will be in
a .txt file in the same folder as the EXE file.

FWIW, starting today, we are going through every single component to
test for leaks. I'll leave details in the release notes for anything
found + fixed. Once that is done, we will start testing aserver.exe
as a whole, and then I should be able to give you some useful details
about how to deal with the PAGE command and trapped exceptions.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值