delve icon indicating copy to clipboard operation
delve copied to clipboard

too many arguments on math.Pow evaluation

Open s0xzwasd opened this issue 4 years ago • 1 comments
trafficstars

  1. What version of Delve are you using (dlv version)?
Version: 1.6.0
Build: 375f4429497596f0b0254049414c67bb54a9aa43
  1. What version of Go are you using? (go version)?
go version go1.16 darwin/amd64
  1. What operating system and processor architecture are you using? macOS, amd64
  2. What did you do? Tried to evaluate math.Pow function with two arguments
  3. What did you expect to see? result of function call
  4. What did you see instead? error: too many arguments https://github.com/go-delve/delve/blob/6a70d531bbacb1833213edd912ea123be0b1a4f2/pkg/proc/fncall.go#L494

s0xzwasd avatar Apr 12 '21 14:04 s0xzwasd

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.

aarzilli avatar Apr 12 '21 14:04 aarzilli