gdb

Debugging C with GDB and Valgrind

Looking at how you can use GDB/LLDB with Valgrind to debug C code

C lldb gdb valgrind memory leaks segfault debugging debug