I would like to share my example of wrong
heaptrc usage...
After some hard debugging and troubleshooting I wanted to dig a little into heaptrc unit to see if there was anything more inside of it which I could have used along with TLogger. Therefore besides being the first unit in project, I have included it in one of my other units where I temporarily needed it.
What a wrong move!!!
In meantime I have solved my problem but completely forgotten to remove heaptrc from the uses in that other unit. Well, many, many man hours later I have figured out why my application had sudden leaks, hangs and freezes, and totally different errors with heaptrc used or not with a project. What a relief!
I wish IDE had at least warned me that I had heaptrc which was not the first used unit in a project, or that I had 2 such units.
Doc says only that it should be the first used unit in a project, but nothing said that it was dangerous to include it once more.
Cheers!