Mac C ++ / Mars eclipse gdb debugging start stuck 96%

enter image description here I am trying to configure GDB on Mac OS X El Capitan. I already set the path in Eclipse (Preference-> C / C ++ β†’ GDB-> / usr / local / bin / gdb). Trying to debug a simple hello program. but it is stuck at 96% (see the lower right side of the image). Debug configuration screen [! [] [2] ] 3

+2
eclipse osx-elcapitan
source share
1 answer

I run sierra 10.12.4, and the apple completely destroyed the ability to run gdb, as far as I can tell.

After shaking around, it seems that lldb support in the eclipse, although still labeled experimental (in neon 3), works quite well.

Do this:

http://wiki.eclipse.org/CDT/User/FAQ#How_do_I_get_the_LLDB_debugger.3F

and then you can debug. Basically, you install lldb support and then set the startup type to lldb setup in debug configurations, and it works. This is a bit slow, but it works.

0
source share

All Articles