Closed
Description
Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.
If this is about source listing not showing up (or breakpoints not being
accepted) while running in a container please read our
FAQ
first.
- What version of Delve are you using (
dlv version
)?
❯ dlv version
Delve Debugger
Version: 1.21.2
Build: $Id: 98f8ab2662d926245917ade2f2bb38277315c7fc $
- What version of Go are you using? (
go version
)?
❯ go version
go version go1.21.1 darwin/amd64
- What operating system and processor architecture are you using?
macOS Sonoma 14.1 amd64
- What did you do?
When trying to debug a test that contains a struct with a non-pointer object that has a function with a pointer receiver defined, interacting with that object causes all locals to returnunreadable could not read string pointer protocol error E08 during memory read for packet
.
Steps:
b TestHi:13
c
p c
- What did you expect to see?
I expected to able to print values for locals. - What did you see instead?
I see all values being returned as error E08.
Log file and files to reproduce error are here.
Changing Thing
to be *Thing
on line 11 resolves the error.
Activity