-
Notifications
You must be signed in to change notification settings - Fork 61
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
Pre-condition failure in ALS from vscode when writing Ada code #1186
Comments
Hello, We have fixed similar issues recently, mostly due to LSP codeActions that sometimes fail on invalid code. We plan to release a new VS Code extension version in the coming weeks, would be worth to try again once it's released. If you still face the issue, you can give us the corresponding log: you can find them under your Regards, |
The issue seems to be present with 24.0.5 but the occurrence seems to have been reduced.
|
Hello @stcarrez, We would need the logs present in your Regards, |
There is no |
Hello @stcarrez, This is not expected: the Ada Language Server itself should produce logs under the The logs you have attached are the logs produced by the Ada TypeScript extension, the layer on top of the Ada Language Server that interfaces with VS Code. While these logs can be useful for bugs coming form the TypeScript layer, they aren't that useful for bugs coming from the ALS itself (which is the case here). Can you double-check to see if some log are present in the folder mentioned above? Otherwise you can create a Another option would be to provide a small reproducer if doable. Regards, |
Normally you should also have access to the logs produced by the ALS by running the |
It happens regularly that ALS reports a failure while typing some Ada code. I report the issue here since the vscode plugin seems provided by this project. This creates (multiple) popup on the IDE about the failure.
I guess it occurs probably on some completion action while writing new procedure/function, hence at a stage where the Ada program is of course not valid because being written.
Let me know if you need more information or if I can enable something to log more information for you.
This is the last version available at this date (24.0.4).
The text was updated successfully, but these errors were encountered: