I’m trying to debug a C code and unfortunately I can’t use valgrind since I have Mavericks installed.
I’m using lldb but am not sure what command to run to check for memory leaks.
I’m trying to debug a C code and unfortunately I can’t use valgrind since I have Mavericks installed.
I’m using lldb but am not sure what command to run to check for memory leaks.
If nothing else works, you might try using dmalloc library, which has been ported to OS X and is pretty good at finding reasonably complex memory allocation problems.