mardi 5 octobre 2021

Eclipse Debugging C++ doesn't work on MacOS

I installed Eclipse IDE for C/C++ Developers on my Mac. However, when I click on the debug icon on the menu, the Debug Perspective Window doesn't pop out at all. No step into/over icon debugging choices show up either.

Specifically, after I click Run -> Debug as -> C++/C Application, it shows the following info and the Launching Debug is 96%, then stucks forever. No debug window jumps out.

***Incremental Build of configuration Debug for project generic_project ****
make all
make: Nothing to be done for `all'.
Build Finished. 0 errors, 0 warnings. (took 158ms)

enter image description here

I config GDB (version=9.2) according to this tutorial. I didn't use brew install because it will install 10.2 GDB which is not compatible with Eclipse from this question. I guess it's the problem of my GDB but I successfully completed all steps in that tutorial. Please give me any suggestions on how to make C++ debugger works on Eclipse. Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire