Setting Up the Go Debugger gdb in Eclipse on MacOSX
Overview
We will install GDB, the debugging module for Go.
However, due to security reasons on the Mac, using GDB
requires creating a certificate.
Environment
- MacOSX 10.10.4 Yosemite
- Go 1.4
- Eclipse Mars Release (4.5.0)
- gdb 7.9
Installing GDB
1 | $ brew install homebrew/dupes/gdb |
Checking the GDB Version
1 | $ gdb --version |
Creating the Certificate











Applying the gdb-cert Signature to gdb
1 | $ codesign -s gdb-cert /usr/local/Cellar/gdb/7.9/bin/gdb [master] |
Killing the taskgated Process
1 | $ sudo killall taskgated |
After restarting MacOSX, verify the following.
GDB Appears Under C/C++ as Shown Below

That’s all.
Setting Up the Go Debugger gdb in Eclipse on MacOSX
