-
Notifications
You must be signed in to change notification settings - Fork 645
vscode debug issues #717
Comments
I can't say much about the error that you see when you run For the error that you see in VS Code, can you set the GOPATH in the env field in the launch.config and try again?
|
my lanuch.json { I use homebrew to reinstall go and delve It works now on Terminal But still debug error on Vscode 2017/01/11 15:10:57 server.go:73: Using API v1 |
Well, atleast the error is different :) @derekparker Do you know in which scenario will dlv give these errors? |
After a bit more digging this is what I found. First off, this issue is a duplicate of #269 @skeleton1231 Can you go through both these issues and see if the steps there help you at all? |
see #717, I solved the problem. thanks! |
@skeleton1231 You have linked the same issue :) I am guessing you meant #20 (comment) solved it for you |
My GOPATH
➜ test1 echo $PATH
/usr/local/bin:/usr/local/sbin:/Users/huanghaitao/bin:/opt/local/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/opt/local/lib/mysql55/bin:/Users/huanghaitao/go/bin:/usr/local/go/bin:/opt/local/lib/mysql55/bin:/Users/huanghaitao/Downloads/adt-bundle-mac-x86_64-20140702 2/sdk/tools:/Users/huanghaitao/Downloads/adt-bundle-mac-x86_64-20140702 2/sdk/platform-tools:/Users/huanghaitao/android_project/apache-ant-1.9.4/bin:/Users/huanghaitao/.composer/vendor/bin:/Users/huanghaitao/Downloads/rar:/Users/huanghaitao/go_project/protoc-3.0.0-osx-x86_64/bin/protoc
➜ test1 echo $GOPATH
/Users/huanghaitao/go
sudo dlv debug main.go
could not launch process: error waiting for thread stop -268435459
on vscode IDE
I can find the dlv in Terminal
What's the problem? Hope someone help me, Thanks a lot!
The text was updated successfully, but these errors were encountered: