A method of embedded development debugging memory leaks