go-delve / delve

Delve is a debugger for the Go programming language.
MIT License
22.38k stars 2.13k forks source link

upstream "cmd/compile: move runtime.itab to internal/abi.ITab" causes Delve to no longer print variables #3672

Closed aktau closed 4 months ago

aktau commented 4 months ago

Just a quick heads up, as we noticed this internally, I can post more details later but I assume that the problem is not too difficult to spot for the maintainers:

The effect is an error like this: (unreadable invalid interface type)

  1. What version of Delve are you using (dlv version)? v1.22.1-0.20240221111041-4a72c523bed8
  2. What version of Go are you using? (go version)? go1.23-aaf8e844ed (everything up to upstream commit https://go-review.git.corp.google.com/c/go/+/550435)
  3. What operating system and processor architecture are you using? Linux
  4. What did you do? break main.main ; c ; p myVar
  5. What did you expect to see? A structure
  6. What did you see instead? (unreadable invalid interface type)
aarzilli commented 4 months ago

Did you see 5bd835a801f8144fd902fb3d12f6a2abf1227cf4?

aktau commented 4 months ago

I did not, apologies. I will check it out.

aktau commented 4 months ago

This indeed fixes the issue. Thanks and sorry for the noise.

aarzilli commented 4 months ago

No problem.