4 ms·
> - debugging is way harder. Hope you like printf. Can't you use gdb with Go? https://golang.org/doc/gdb https://golang.org/doc/gdb
by gkya 11y ago
> - debugging is way harder. Hope you like printf.
Can't you use gdb with Go? https://golang.org/doc/gdb https://golang.org/doc/gdb
- spriggan3 11y agoThe second you launch a Go routine, gdb becomes useless.
- gkya 11y agoHow do you debug then? (I'm not a Go coder, tho I'm familiar a bit with it)
- shurcooL 11y agoSee another answer in this thread, https://news.ycombinator.com/item?id=11607829 https://news.ycombinator.com/item?id=11607829.
- sacado2 11y agoOh, that's simple. We gophers don't make any mistake. Ever. It makes our lives easier.
- jsmthrowaway 11y agoThis is wrong. The answer is obviously "Go is debugged in production with extensive logging," so I question whether you're actually a gopher.