Open maxwindiff opened 5 years ago
any progress here ? I think this is really important feature.. at least with cmd-line debugging.
Any update on this please?
The issue expression *ast.CompositeLit not implemented
is the same for GoLand.
I am encouraged to write more unit tests because the debugger is inconvenient to use. Maybe the absence of "composite literal evaluation" is a well-thought feature, not a bug :smiley:
Any luck? Having the same issue with GoLand
Incredible how such a (seemingly) simple feature has been left behind by the team!
dlv version
)?go version
)?Linux/amd64
Compile the following program, debug it with delve, try to print some map values:
Print the corresponding map values.
"Command failed: expression *ast.CompositeLit not implemented"
Looks like CompositeLit evaluation wasn't implemented: https://github.com/go-delve/delve/blob/4c9a72e486f1f0d0c90ecede8415a871dced8117/pkg/proc/eval.go#L258