No one has volunteered an answer to this question so I am going to answer it in a different way.
If you can, use something like Kdevelop (or Code::Blocks, or Eclipse, or NetBeans) as your IDE rather than Emacs. My experience is that you will be much more productive that way. The debugging UI in Kdevelop is very intuitive; much more so than Emacs in my opinion.