$ codesign -s dlv-cert $(which dlv)
/Users/mememe/development/golang/bin/dlv: is already signed
$ go build hello.go
$ dlv debug hello.go
could not launch process: could not fork/exec
See Issues #300, #159, #134. Basically, it's not a bug with delve, you either you made a mistake following the install procedure correctly or the gods of OS X codesigning aren't smiling upon you.
Don't feel bad, I had to do it three times before getting it to work.
Thanks,
good to know it is not issue with delve.
I had to follow the steps again, But wherever i could see a "Trust” item I set to “Always Trust”.
This works now
:+1:
good.
delete the GOPATH/bin/dlv, then the problem was solved.
@oknixus It works,thx
I addressed this coz I installed delve by brew before. Now I uninstalled it by brew. And reinstalled it by go get. Then it works.
Most helpful comment
delete the GOPATH/bin/dlv, then the problem was solved.