-
-
Notifications
You must be signed in to change notification settings - Fork 304
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
[coc.nvim] Connection to server got closed. Server will not be restarted. #2068
Comments
Are you able to reproduce the crash somehow or does it happen randomly? I believe that the message trace doesn't show the last request that has been send to ZLS. Could you try and add I also can't really tell where the unreachable code has been hit in DocumentStore.zig:1226. Trying a debug build of ZLS can provide a more detailed stack trace. |
Yes, I can reproduce the crash everytime, I trid add args and got log, If this log still does not help identify the issue, I will try to build a debug version of zls to assist with troubleshooting.:
|
I have built the debug version of zls, but the log output is the same as the release version. Do I need a special method to obtain debug information? |
The debug build should make a difference when looking at the stack trace when ZLS crashes. Did use |
Zig Version
0.14.0-dev.2032+c563ba6b1
ZLS Version
0.14.0-dev.179+5acc066
Client / Code Editor / Extensions
vim 9.1 with coc
Steps to Reproduce and Observed Behavior
open zig file with vim, show error message:
[coc.nvim] Connection to server got closed. Server will not be restarted.
Expected Behavior
open zig file with vim, no error message:
Relevant log output
The text was updated successfully, but these errors were encountered: