Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Need documentation for lldb-server #838
Comments
|
I am having this same issue. First step was to
That got it a bit farther, but then I received a similar error as in the OP:
|
|
A bit more info: |
|
What version of xcode do you have installed? What happens when you run your lldb-server? |
|
Xcode: Version 8.3.2 (8E2002) Running |
|
For me:
|
|
Just If it works from the command line but not from inside VSCode it's probably just a PATH issue at this point. |
|
The md5sums match between those two locations for each binary.
(Running it without |
|
And, for completeness:
|
|
Thank you. Debugserver is where it's supposed to be, if dlv works from the command line it must be some issue with VSCode configuration. If you are trying to pass command line arguments to the target, there was an issue that was closed recently that could cause this. |
|
I'm not sure how VSCode calls dlv, so I'll have to dig in to that and see what's up. Thanks! |
|
I have updated to delve tip and it is working great. Thanks! |
|
On Mac, I still see the same issue when trying to debug with Gogland.
It appears Gogland is shipped with a version of Delve, for in the output I see:
However, they seem to match:
|
|
Are you getting the not found error? If so you can do the `ln -s` command I posted above.
…On May 18, 2017, 12:56 AM -0600, schultz9999 ***@***.***>, wrote:
On Mac, I have installed HEAD for delve and still see the same issue when trying to debug with Gogland. Ideas?
Gogland (1.0 Preview) 1.0 EAP Build #GO-171.4424.55, built on May 12, 2017 Gogland EAP User Expiration date: August 10, 2017 JRE: 1.8.0_112-release-736-b21 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.12.4
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/derekparker/delve/issues/838#issuecomment-302317826), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAEUlLesbRWO0IjrgWMSyOTs9XW7Gmi5ks5r6-uOgaJpZM4NZYOX).
|
|
@aarzilli xcode version: vscode go-plugin version: osversion:10.12.5 go version: 1.8 @tylerb how to update delve tip? |
That solved it for me. @schultz9999 you could also try doing the above steps, then overwrite the binary in gogland with the binary produced by |
|
@tylerb i installed the go-delve by brew install, follow by your steps, in $GOPATH/src/github.com/ not found derekparker/delve, you installed the go-delve by using go get? |
|
Uninstall from homebrew, then go get this repo and install using make. That should do it.
…On May 18, 2017, 9:23 PM -0600, colawarrior ***@***.***>, wrote:
@tylerb (https://github.com/tylerb) i installed the go-delve by brew install, follow by your steps, in $GOPATH/src/github.com/ not found derekparker/delve, you installed the go-delve by using go get?
i still did not resolve it, its pity, however, thanks very much!!!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/derekparker/delve/issues/838#issuecomment-302598853), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAEUlDB1QA7NKLRVHK7Tq8zaTIhYJa3mks5r7QsXgaJpZM4NZYOX).
|
|
@guanrui0309 you need to clone it:
|
|
@tylerb Done. Bunch of failures :(
|
|
|
You are da man!... You nailed it. I didn't have |
|
BTW, I did get the prompt. I can't say though if I were not expecting it, I would not miss it. Probably not, if it were the first thing I would see. |
|
My guess is that you need to run Xcode at least once for this to work (and if you update Xcode you need to run it after doing so) |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

dlv version)?1.0.0-rc.1
go version)?go version go1.8.1 darwin/amd64
macOS Sierra (10.12.3) on an Intel i7 (64-bit).
delve exec myprogramThe delve interactive prompt.
could not launch process: exec: "lldb-server": executable file not found in $PATHI think this is mostly a documentation issue, since the backend changed between 0.12.2 and 1.0.0-rc.1. For me,
lldb-serveris/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/lldb-server.(Things also don't work for me once I add that directory to my
$PATH-- I getcould not launch process: dial tcp :49754: getsockopt: connection refused-- so I am unsure what additional setup is needed on my system.)