Skip to content
New issue

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

[OSX10.11.3] Can't debug : could not launch process: could not fork/exec #357

Closed
sub-mod opened this issue Jan 22, 2016 · 6 comments
Closed

Comments

@sub-mod
Copy link

sub-mod commented Jan 22, 2016

$ 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

@aarzilli
Copy link
Member

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.

@sub-mod
Copy link
Author

sub-mod commented Jan 22, 2016

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
👍

@sub-mod sub-mod closed this as completed Jan 22, 2016
@aarzilli
Copy link
Member

good.

@oknixus
Copy link

oknixus commented Mar 13, 2017

delete the GOPATH/bin/dlv, then the problem was solved.

@caibirdme
Copy link

@oknixus It works,thx

@ThreeBearsDan
Copy link

ThreeBearsDan commented Nov 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants