Wednesday, November 24, 2004

Friday, November 05, 2004

How To Find Memory Leaks

Simple trick - overriding global new and delete operators:

flipcode - How To Find Memory Leaks

Thursday, August 12, 2004

Handy way to create stack trace

It is many times desirable while debugging to know how the program flow came to this point of execution? I found this handy way of doing that. Insert:

new Throwable().printStackTrace();

Exceptions are not always bad !!! ;)