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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With