delve
delve copied to clipboard
too many arguments on math.Pow evaluation
trafficstars
- What version of Delve are you using (
dlv version)?
Version: 1.6.0
Build: 375f4429497596f0b0254049414c67bb54a9aa43
- What version of Go are you using? (
go version)?
go version go1.16 darwin/amd64
- What operating system and processor architecture are you using? macOS, amd64
- What did you do? Tried to evaluate math.Pow function with two arguments
- What did you expect to see? result of function call
- What did you see instead? error: too many arguments https://github.com/go-delve/delve/blob/6a70d531bbacb1833213edd912ea123be0b1a4f2/pkg/proc/fncall.go#L494
math.Pow is implemented in assembly so its debug_info entry does not have any informations on its arguments. This is unfortunate but we can't do anything about it.