Hacker News new | ask | show | jobs
by troym 4076 days ago
There's a more, er... traditional, debugger for Golang in the works: https://github.com/derekparker/delve
3 comments

> 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:

https://github.com/derekparker/delve#building

If I remember correctly I had to follow the same instructions for installing gdb too :/
Really? I just did brew install gdb
Duly noted. Thanks.
Does Delve only allow you set breakpoints while running the program in Delve?