Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple code analyzer

Need a simple code analyzer to see if I am forgetting to free objects and classes, or to see if I am releasing them to many times.

like image 332
Jlouro Avatar asked Mar 09 '26 19:03

Jlouro


2 Answers

This is built into Delphi's memory manager (FastMM). Set ReportMemoryLeaksOnShutdown true. You can also use the "full debug" version of the memory manager for more detailed checks and information.

like image 119
Craig Stuntz Avatar answered Mar 12 '26 13:03

Craig Stuntz


The Pascal Analyzer from Peganza does a static analysis of your code.

like image 26
Uwe Raabe Avatar answered Mar 12 '26 11:03

Uwe Raabe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!