We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Delve Version: 1.9.1 and Go go version go1.20-pre3 cl/474093167 +a813be86df linux/amd64.
Version: 1.9.1
go version go1.20-pre3 cl/474093167 +a813be86df linux/amd64
Test case is simple:
package main import "fmt" type Options struct { WithBreakfast bool WithLunch bool WIthDinner bool } func main() { x := Options{} fmt.Sprintf("%v", x) }
Set a breakpoint in main and try to evaluate Options{}:
Options{}
(dlv) break main.go:13 Breakpoint 1 set at 0x49cca4 for main.main() ./main.go:13 (dlv) c > main.main() ./main.go:13 (hits goroutine(1):1 total:1) (PC: 0x49cca4) 8: WIthDinner bool 9: } 10: 11: func main() { 12: x := Options{} => 13: fmt.Sprintf("%v", x) 14: } (dlv) call Options{} > main.main() ./main.go:13 (hits goroutine(1):1 total:1) (PC: 0x49cca4) Command failed: expression *ast.CompositeLit not implemented
I should be able to evaluate this here, it's on a line just after an identical expression. (The error message is also really cryptic.)
The text was updated successfully, but these errors were encountered:
Duplicate of #1465
Sorry, something went wrong.
No branches or pull requests
Delve
Version: 1.9.1
and Gogo version go1.20-pre3 cl/474093167 +a813be86df linux/amd64
.Test case is simple:
Set a breakpoint in main and try to evaluate
Options{}
:I should be able to evaluate this here, it's on a line just after an identical expression. (The error message is also really cryptic.)
The text was updated successfully, but these errors were encountered: