i was having some memory leaks problems with a project of mine. One of the developers (gfundies) mentioned using "Test Harness' to find them. It not only solved my problem but also pointed out other errors/inconsistencies within my code. Which is why i thought it'd be a great tip on Debugging for you guys.
The Test Harness segment can be found in Game Settings-> Compiler.
What i did is run my project, then copy/compare the results.
I have used this method on my Linux machine. I haven't tried it on Windows or Mac, but it should work fine.
I'm not sure if this method is the most efficient way but , it works for me now at least. Who know, maybe the guys will construct something more efficient like an automated process writing to a file or something else........who knows...........