LLVM Debugger LLDB I have to use LLDB on Mac because GDB isn’t supported. Though if I remember correctly, the commands are very similar. LLDB as GDB are largely the same. GDB vs LLDB LLDB https://www.youtube.com/watch?v=vuNZLlHhy0k&ab_channel=LLVM Can you debug GCC programs with LLDB? Yes, because both clang and gcc generate the same types of object files. Source