XCode to debug gdb-debuggable executable

1

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.

ejang

Posted 2011-12-11T07:17:17.143

Reputation: 173

No answers