Error running debugger on Apple M2 Pro
Answered
Hi all, I'm running into the following debugger error:
GOROOT=/Users/joe/sdk/go1.20.2 #gosetup
GOPATH=/Users/joe/go #gosetup
/Users/joe/sdk/go1.20.2/bin/go build -o /Users/joe/Documents/api_public/company-api -gcflags all=-N -l . #gosetup
/Applications/GoLand.app/Contents/plugins/go-plugin/lib/dlv/macarm/dlv --listen=000.0.0.1:00000 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec /Users/joe/Documents/api_public/company-api -- -config_file=../sample.ini
API server listening at: 000.0.0.1:00000
debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-1111.0.17.11
forarm64.
error: failed to launch process /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/debugserver: failed to get the task for process 11241
Exiting.
could not launch process: stub exited while waiting for connection: exit status 0
Debugger finished with the exit code 1
I am using:
- an Apple M2 Pro Mac
- an Apple Silicon version of Goland
- OS: darvin
- Arch: arm64
- Go version: Project SDK (1.20.2)
- Compiler: any
- Cgo support: Enabled
- There are no custom tags set
- xcode-select version 2397
Please sign in to leave a comment.
Hi,
I see your request in our support tickets system so let's continue the investigation there and will post update publicity afterward.
Seems to be a common problem, I have several tickets open for variations of the same.