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