I hate to say it, but debugging Golang sucks. I've tried Delve and GDB with the IntelliJ Go plugin on a Mac... and I am truly disappointed. I like Golang as a language - it ticks loads of boxes, yet it's frustrating to effectively debug / step through code at quick pace - the debugger goes AWOL and I have to rely on printing log lines for diagnostics. I've only stuck with Golang because it's the preferred language where I work. I've been programming for probably too long - 30 years, so I am VERY surprised that golang is as popular as it is without a proper debugger that integrates seamlessly and fault-free with any IDE.
Come one guys, this is the 21st century! I wish with all my heart that debugging in Go will be responsive, straightforward and glitch free as it is with other well established languages... sadly there is some way to go before that's a reality. Anyone who says debugging is all good needs to wake up and smell the coffee.... the Golang plugin for IntelliJ is buggy ( but great work guys for getting it this far - kudos earned but it seems like they need help. There are many open tickets around the debugger). The Jetbrains suite of IDE's are the go-to IDEs for many modern languages, so the reality is far from rosy. If I were a teenager again, with time on my hands, I'd be straight in there fixing stuff up. Having a family means I have just enough time to moan, so sorry for the rant :-) On Wednesday, November 4, 2015 at 6:34:47 AM UTC, Harry wrote: > > Hello everyone, > > I'm using IntelliJ IDEA 15 to develop golang projects. To debug golfing > project, I installed GDB. But I couldn't find GDB related setting on > IntelliJ IDEA. I'm trying it on macbook. > > How can I debug on that?? > > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.