5 ms·
What is the recommended way to go about debugging a Go program? Is there something better than GDB if I want to look at the call stack, have breakpoints, look
by venuzr 13y ago
What is the recommended way to go about debugging a Go program? Is there something better than GDB if I want to look at the call stack, have breakpoints, look at the state of variables etc.
Using GDB seems akin to working with assembly
- jussij 13y agoThere're a few Go IDEs that integrate GDB into the IDE. http://geekmonkey.org/articles/20-comparison-of-ides-for-google-go http://geekmonkey.org/articles/20-comparison-of-ides-for-goo... I'm the author of one of them (Zeus) and while the results are not as slick as the Visual Studio debugger it's a better than straight out GDB.
- f2f 13y agothe %v and %T flags to the printing package. surprisingly powerful :)