-
Notifications
You must be signed in to change notification settings - Fork 336
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
gops stopped listing my running go programs #102
Comments
Is it possible for you to see if https://godoc.org/rsc.io/goversion is working with your binary? |
Right, |
@prithsharma could you check whether you still see the issue with the latest |
I ran into this same issue today. Here's the output from both
This is with gops I also grabbed the
|
This open issue with rsc/goversion#13 fixes the issue:
|
This patch fixes google#102
Use package debug/buildinfo [1] introduced in Go 1.18 [2] when possible. This should avoid previous issues with rsc.io/goversion where Go processes were no longer listed. [1] https://pkg.go.dev/debug/buildinfo [2] https://go.dev/doc/go1.18#debug/buildinfo For #102 For #159 For #160
Use package debug/buildinfo [1] introduced in Go 1.18 [2] when possible. This should avoid previous issues with rsc.io/goversion where Go processes were no longer listed. [1] https://pkg.go.dev/debug/buildinfo [2] https://go.dev/doc/go1.18#debug/buildinfo For #102 For #159 For #160
I think #166 should fix this issues, at least when building @prithsharma @lblackstone could you please check whether |
Yes, this appears to be working as expected now. Thanks! |
@lblackstone Thanks for confirming! |
A few days ago,
gops
stopped listing my running go program (found this when I couldn't attach to my program for debugging in GoLand)Any ideas on how to debug this?
The text was updated successfully, but these errors were encountered: