add dealloc logging to debug mode