Tools for tracking c++ objects lifetime