In docker, I can't add breakpoint #3860
Replies: 2 comments
-
I also tried ubuntu image, and ended with same problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes. You can not debug x86 binaries on arm64. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I downloaded a centos-stream-8 images, install golang 1.21.13, and dlv, everything seems normal, but when I want to debug, error happens as follow:


First, golang is ok:
and then, I try to debug this hello:
list shows no source, and b main.main gives me input/output error
version for go and dlv, and system image:

go env shows:

I've read similar questions, GOOS and GOARC is right, and I don't understand this mentioned by #1116 (comment)
At last, my computer is Apple with M1. just because of this ?
Beta Was this translation helpful? Give feedback.
All reactions