Search code examples
goarm64apple-m1goland

When debugging, GoLand can not evaluate a function on M1


When debugging, use the Evaluate expression and try to evaluate a function. The result is shown as: "backend does not support function calls". Why?

MacBook Pro M1 GoLand 2021.1.3 Go 1.16.5 arm64


Solution

  • See this: https://github.com/go-delve/delve/issues/2277

    Per the comments: "[...] function call injection is not supported on arm64 because the Go runtime doesn't have an implementation for it."