-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
TSServer: Exception on executing command semantic check #15688
Comments
the assert suggests that we are trying to update a file before adding it. can you share more context? |
This error occurred when I opened one of these d.ts files using go to definition and then closed it. Let me try to reproduce it again and then share the entire log. I think we also need to be more resilient on the VSCode side to handle these sort of errors better |
Here's a complete log without any exception that produces the same hang on the VSCode side: Trace from tVSCode communications with TSServer:
It seems that the navtree request is never received on the TS side in this case |
#17269 is now in 🐣 |
From microsoft/vscode#24698
I've noticed this error in our TSServer log. I don't have a reliable repo for the issue but the sequence of events seems to be:
Exception on executing command semantic check
for a file that was in the projectclose
response is ever received. This causes VSCode to become very confusedHere's the log:
The text was updated successfully, but these errors were encountered: