go - How to fix delve "can't load package: package internal" error -


so installed vscode on windows machine main golang ide , guess overall lack of go knowledge making me experience seemingly unsolvable error: installed delve , wanted use debugger in vscode-go. did mentioned in readme on https://github.com/microsoft/vscode-go , yet reason when run dlv debug error "can't load package: package internal: no buildable go source files in c:\go\src\internal exit status 1". couldn't find related folder on internet, have never myself entered path src/internal in of config files. making me confused, since thought if common folder should have atleast gotten same error once.

it occurs both in vscode , in command prompt, if dlv test run. know not issue folder structure/env variables since complains package files missing if remove them in addition giving same c:\go\src\internal error. seems if there setting somewhere check folder source files too, can't find setting , dlv debug crashes after giving me error.

got same issue latest delve , vscode:

can't load package: package internal: no buildable go source files in c:\coding\go\src\internal

and 'go build' working without errors

have fallback previous version of delve working. seems delve broke or need update things. seems enough replace dlv.exe in %gopath%\bin folder. i'm not sharing version because exe, can find or build sources


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -