Unable to debug, delve issue
Completed
1. I try to debug Test function
2. Debugger doesn't stop at breakpoint
3. In terminal: "unsupported architecture - only linux/amd64 and linux/arm64 are supported"
4. In GoLand settings: Os linux, Arch amd64, Go version 1.14.1
I installed delve from github and it's working fine. Can't replace delve binary as GoLand is installed as Snap in Ubuntu.
Please sign in to leave a comment.
Glad to hear! So, the solution is to use 64-bit Go as delve (the debugger) currently doesn't support the 32-bit architecture.
But on which OS are you running GoLand?
Ubuntu 19
Can you please create a new project with a simple application like func main() { println("") }. Does the debugger work there or are you getting the same error message?
That's weird. What does this code print?
linux/386
Thank you for help. I reinstalled go (amd64 version) and everything is working.