-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
:GoDebugStart or Test "could not determine package name" #2260
Comments
What does What is the path to the files? Have you updated delve recently ( |
cwd: |
It doesn't know the package name, because they're neither in the |
ah sure. but I have the same problem in an actual go.mod enabled repo. I'll update the test. |
OK I added the following
and now |
I've only seen a few cases where
I've resolved the former in #2269. I don't know if it will resolve your issue or not since we don't know how to replicate your issue, but it seems worth a shot. |
I suddenly cannot reproduce the bug, sorry for the confusion. |
What did you do?
Run
:GoDebugStart
or:GoDebugTest
while the active buffer was in any of the following two go source files:What did you expect to happen?
The debugger to open
What happened instead?
vim prints the error "could not determine package name"
Configuration:
vimrc
you used to reproduce::version
): NVIM v0.3.5, Build type: Release, LuaJIT 2.0.5go version
): go version go1.12.4 linux/amd64go env
):The text was updated successfully, but these errors were encountered: