Ask HN: How to debug C++ code using Xcode and gcc?
I just started writing programs (c++) on xcode but I'm new to gcc and xcode built in debugger. Any help is appreciated!
To get the most out of gdb, learn to use it on the command line. It's very simple to get started, you can use it outside of Xcode in any application, and it really unlocks the full power of the program. It's very useful.
Google for tutorials.