Open davidanthoff opened 4 years ago
Do you not get an event log in crash reports showing client and server requests leading up to the crash? Very difficult to debug otherwise. Looking at the code, this looks like a client-side problem rather than server-side since the response has an .error
key with empty code
and message
Unfortunately we don't... I'll look into sending more log info in crash reports, but not sure we can easily do that...
Is this likely to have been fixed by the change to how we handle configurations?
I had hoped so, but we are still getting crash reports from this... So, no.
Erg. I'm still feeling really lost on this. Do we need to check and store this before sending requests to the client?
The only thing I see in the workspace/configuration
request that's out of spec is that it sends "scopeUri": nil
when scopeUri is required to be a DocumentUri which is an alias for string. Instead, scopeUri can simply be omitted.
Could be worth fixing that just in case its the problem?
So maybe we wait and see whether #665 fixes this, and whether #662 gives us more info, right?
We're STILL seeing this in the latest version of the extension that I published today :( This is honestly driving me nuts, I have no more ideas what might be going wrong here...
As per my comment above: https://github.com/julia-vscode/LanguageServer.jl/pull/693 seems worth a try
From crash reporting.
Stack trace:
I think we need to rework how we load configuration in general and follow the examples from the docs.