用法:不要手工添加heaptrc单元,应该在编译选项中勾选
Using heaptrc in Lazarus
To enable this in your Lazarus project:
- Go to Project Options/Linking and
- in the Debugging section enable Use Heaptrc unit (check for mem-leaks) (-gh)
详见:https://wiki.freepascal.org/heaptrc
2024-01-15 20:34:58
To enable this in your Lazarus project:
详见:https://wiki.freepascal.org/heaptrc