-
Notifications
You must be signed in to change notification settings - Fork 645
dlv not work #399
Comments
Where is |
are you supporting golang and dlv being installed via homebrew? It doesn't seem to be working anymore. |
when I try to debug I just get |
@blacktop That error indicates that dlv is not installed correctly. Can you run |
have the same issue, using fedora 23. dlv is working correctly (tried dlv debug in the project folder) |
@lukehoban so I also reinstalled delve manually as well as running the brew install and it works now. However, it seems VERY buggy now and crashes and panics a lot. I don't think I have successfully |
the problem sloved, it's my GOPATH setting problems. |
I found out that my problem is specific to linux. |
Solved. I was setting GOPATH variable only for console and not Xorg applications |
For me it was a problem with the dlv version. I installed the latest from master and now it works again. |
I get the same message: Using the GOPATH check in vscode: Navigating to GOPATH/bin folder shows that delve is there:
|
I fix the same issue with Maybe it helps |
@lukehoban So I removed dlv from brew and with @mbobakov 's command and then reinstalled with brew and it is giving me the error again ❯❯❯ which dlv
/usr/local/bin/dlv |
The plot thickens !!! ~/s/g/s/g/m/malice git:master ❯❯❯ $GOPATH/bin/dlv debug
could not launch process: could not fork/exec
~/s/g/s/g/m/malice git:master ❯❯❯ dlv debug
Type 'help' for list of commands.
(dlv) q |
I think this is because the version that brew signs with the dlv cert is the one it links to |
I encounter this problem, too. But it works very well at past. |
I had this problem because my working directory wasn't the same as the directory of my source files. I just had to open the proper source folder and it worked. |
For people who see "Failed to continue: "Cannot find Delve debugger. Ensure it is in your 'GOPATH/bin' or 'PATH'."
For people who see "could not launch process: could not fork/exec",
Closing this issue. |
Installation according to the installation document on OSX.
then F5,vs code show error message:Failed to continue: "Cannot find Delve debugger. Ensure it is in your
GOPATH/bin
orPATH
."vscode-go version:0.6.39
go version 1.6.3
run dlv debug test.go command in terminal its ok.
The text was updated successfully, but these errors were encountered: