Memory debugger for c++ on mac?
I'm developing a mac application in C++, and I'm having the following problem:
words(26222,0xa0b5c540) malloc: *** error for object 0x88dda04:
incorrect checksum for freed object - object was probably modified after开发者_如何学JAVA
being freed.
*** set a breakpoint in malloc_error_break to debug
Anyway, I set a breakpoint in malloc_error_break but it doesn't tell me where I am modifying the memory.
Is there any memory debugger that gives me meaningful information about where am I messing up the memory?
Valgrind is the standard open-source memory debugging tool. :-)
精彩评论