Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have compiled a cmake-based executable that is (miraculously) debuggable in gdb.

So examining hundreds of variables with the terminal becomes a little bit slow for very large projects and I would prefer to debug using the XCode interface. Since my c++ program is already a debuggable executable, what are the steps i have to take to get it debugged using XCode GUI? It is my understanding that XCode is able to debug using gdb but I am wondering how to set this up, and whether I have to somehow import the source files.

And no, the cmake generator does not work for this particular project.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.