-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
cgo problem? ([Could not launch program: decoding dwarf section info at offset 0x0: too short]) #79
Comments
Appears to be related to Go#8973, building with Feel free to close this issue if you see nothing you'd like to fix here. |
Thanks, this surfaced another issue of the I'll keep this issue open because I can probably get a fix in to Delve to handle this until 1.5 lands. Also, it's preferred to use |
I just hit this on c3ade94 ( Even more concerning is that |
@ahl do you have steps we can follow to reproduce this or a binary to examine? |
Perhaps you're not supposed to use This also happens on a non-golang binary. Again, the debugger should never kill target process. |
This also happens if you use |
@aarzilli ,is there any windows release dlv i can use or i have to build it myself? |
thank you for your help! @aarzilli |
@sank: you have to build it yourself. |
I am seeing this error in Visual Studio code Version 1.12.2 (1.12.2) on Mac:
GOPATH env variable is set and dlv is installed in $GOPATH/bin directory launch.json looks like this:
I have tried adding GOPATH variable to "env" configuration property in launch.json but got the same error. I am using delve version 1.0.0-rc.1 |
Open a new issue and fill the form. |
* simplify grpc and worker startup for testing * do not add a tracer if the rpc host is an empty string * restored direct use of pgx * wrong event type used in db setup
The text was updated successfully, but these errors were encountered: