开发者

FastMM fails to detect memory leaks

I'm using FastMM开发者_StackOverflow社区 4.97 in my application in Delphi5.

Everything works well, if I run my application from the IDE with an intentional leak for test purposes. I get proper notices and error logs.

However nothing happens if I run my application outside of the IDE (run the .exe file from say Windows Explorer).

Am I missing something? Is this behavior intended? Can it be changed?


This is expected if RequireIDEPresenceForLeakReporting is defined in FastMM4.pas (if Delphi is not running while you're running your program outside the IDE). Also see InstallOnlyIfRunningInIDE, if this define is set the default memory manager is used if you run the program outside the IDE (this define is automatically defined if FullDebugModeInIDE is defined).

You can use "FastMM4 Options Interface" for easy setting/viewing defines, highly recommended.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜