Eclipse C++ GDB debugger for Mac -


i've been trying whole day use eclipse failed every time. know may wrong , know there lot of people out there working hard open source project, if can't use program, run , debug "hello world" file, there must wrong.

i'm using osx 10.9.5 (yeah, maybe using mac first error, right?).

every time try debug "hello world.cpp" program following error.

http://imgur.com/rgxcsyw

yes, i've searched everywhere on google. yes, i've seen other replies on similar topic , i've tried solutions offered. sadly, didn't work.

thanks guys patience, hope learn how code , maybe being helpful others 1 day.

luca

p.s. writing error other people googling can find

" error in final launch sequence failed execute mi command: -exec-run error message debugger end: unable find mach task port process-id 33383: (os/kern) failure (0x5).\n (please check gdb codesigned - see taskgated(8)) unable find mach task port process-id 33383: (os/kern) failure (0x5).\n (please check gdb codesigned - see taskgated(8)) "

this relatively known "issue" on os x (which btw pain-in-the-neck-to-develop-c++ on). first need install g++ , gdb debugger (since llvm clang++ in combination llvm debugger not yet supported eclipse on os x). easiest way via macports. first install macports via native installer, then, terminal, install g++ , gdb (debugger)

sudo port install gcc5 # or gcc49 

and

sudo port install gdb 

after this, need codesign it, see link. name of debugger ggdb (not gdb), , macoprts install in /opt/local/bin/ggdb.