Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote debug bug when go1.9.7 build cross platform #39340

Closed
zhangzhanli opened this issue Jun 1, 2020 · 3 comments
Closed

remote debug bug when go1.9.7 build cross platform #39340

zhangzhanli opened this issue Jun 1, 2020 · 3 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@zhangzhanli
Copy link

Recently, I used go1.9.7 to build programs in Windows with goos=linux which would run on linux. But something wrong happened. The program running on linux works well but it doesn't work with remote debugging(in windows client to debug program running in linux, use dlv --listen=:2345 --headless=true --api-version=2 --accept-multiclient exec program). I think go build produced the wrong paths for source code. For example, when I go build D:\dos\1.go, it would produce D:\dos/D:/dos/1.go for source. I think this kind of action may lead to problem when debuging cross platform.

@davecheney
Copy link
Contributor

@zhangzhanli Go 1.9.7 is out of support, see https://golang.org/s/release for details.

Can you please try to reproduce your issue with Go 1.14 and confirm if this is still a problem.

@davecheney davecheney added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jun 1, 2020
@zhangzhanli
Copy link
Author

@zhangzhanli Go 1.9.7 is out of support, see https://golang.org/s/release for details.

Can you please try to reproduce your issue with Go 1.14 and confirm if this is still a problem.

I see this kind of problem solved since go1.11, Thank you.

@davecheney
Copy link
Contributor

Thank you for confirming.

@golang golang locked and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants