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
No response to RPCServer.State request #2573
Comments
There are a few obvious hypotheses:
|
Gdbwire log: https://gist.github.com/nd/dce79f0cdafc670cb379c02e7243bb41. Seems like it doesn't contain any problems? |
There's nothing wrong there, seems like the most likely explanation is that it is not a problem with delve. |
Anything new with this? |
Sorry, forget to close it. It looks like something called VMware Carbon Black Endpoint was blocking the debugger. |
Awesome name. Thank you. |
dlv version
)?go version
)?1.14.4
Mac OS X (10.15.7, x86_64)
Debugged the program:
Delve was launched from IDE with the command:
dlv --listen=0.0.0.0:57555 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec /path/to/executable --
The executable was compiled with the
-gcflags "all=-N -l"
option.Debugger responds to IDE requests.
Debugger doesn't respond.
Judging by IDE logs it connected to delve successfully and sent the
{"method":"RPCServer.State","params":[{"NonBlocking":true}],"id":1}
request, but didn't get any response back.If delve is launched with
--log --log-output lldbout,rpc
, it prints onlyin its own log. Debugserver log doesn't seem to contain any errors.
Reportedly delve does work fine if launched as
dlv debug /path/to/main.go
.The text was updated successfully, but these errors were encountered: