5 ms·
There's a more, er... traditional, debugger for Golang in the works: https://github.com/derekparker/delve https://github.com/derekparker/delve
by troym 11y ago
There's a more, er... traditional, debugger for Golang in the works: https://github.com/derekparker/delve https://github.com/derekparker/delve
- TkTech 11y ago> 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.
- ihuman 11y agoDoes Delve only allow you set breakpoints while running the program in Delve?
- cmelbye 11y agoYes: https://github.com/derekparker/delve#breakpoints https://github.com/derekparker/delve#breakpoints
- tyho 11y agoComparing the Linux and OSX instructions is fun: https://github.com/derekparker/delve#building https://github.com/derekparker/delve#building
- sunnyps 11y agoIf I remember correctly I had to follow the same instructions for installing gdb too :/
- autoreleasepool 11y agoReally? I just did brew install gdb
- aleksi 11y agohttps://sourceware.org/gdb/wiki/BuildingOnDarwin https://sourceware.org/gdb/wiki/BuildingOnDarwin
- autoreleasepool 11y agoDuly noted. Thanks.