Isn't lldb better option now? Commands are more structured.
FWIW, gdb on OSX is a pain to setup, and attaching processes is broken.
FWIW, gdb on OSX is a pain to setup, and attaching processes is broken.
My current standing is to use whichever compiler and debugger your platform comes default with: msvc/cdb for Windows, gcc/gdb for Linux and clang/lldb for OS X. Crossing them always reveals tons of bugs, at least for me.