Re:A cross-platform debugger for Go
by troym on Monday April 20, 2015 @01:27PM
(#9409542)
There's a more, er... traditional, debugger for Golang in the works: https://github.com/derekparker/delve
[ Parent
| on HN ]
> When I started this project in January, gdb failed on every program I tried it on. delve didn’t work on OS X, and print-statement-debugging was too slow and limited. What's a developer to do? Make my own debugger, of course.
It seems like he tried to use delve and it wasn't portable at the time. Sure he could have worked on making delve portable instead, but he probably learned a lot more poking around the internals himself.
Comparing the Linux and OSX instructions is fun:
If I remember correctly I had to follow the same instructions for installing gdb too :/
Re:A cross-platform debugger for Go
by autoreleasepool on Tuesday April 21, 2015 @02:54AM
(#9412605)
Really? I just did brew install gdb
Re:A cross-platform debugger for Go
by autoreleasepool on Thursday April 23, 2015 @01:08AM
(#9425108)
Duly noted. Thanks.
Does Delve only allow you set breakpoints while running the program in Delve?