Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 627
graydove Avatar asked Apr 14 '26 15:04

graydove


2 Answers

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."

like image 113
see sharper Avatar answered Apr 17 '26 11:04

see sharper


As of go 1.18.2, debug func is also supported on ARM64/Apple M1 (https://github.com/golang/go/issues/52699). Seems like Goland still needs to update in order to use this. But there is hope :)

like image 28
user18160459 Avatar answered Apr 17 '26 11:04

user18160459



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!