title: Mac C++/eclipse cannot debug: Error while launching command: gdb --version
body: <p>I am using c++/eclipse kepler on mac, and I cannot debug any project. The error is "Error while launching command: gdb --version" Besides that, I can build and run my code using other libraries.</p>
  
  <p>I searched a site that is similar to my problem: <a href="https://stackoverflow.com/questions/20250346/debugger-for-c-eclipse-gives-the-following-error-launching-program-name-has">Debugger for C++ eclipse gives the following error. &#39;Launching program name&#39; has encountered a ... Error while launching command: gdb --version</a></p>
  
  <p>But what should I change if I am using a mac?</p>