-
Notifications
You must be signed in to change notification settings - Fork 17
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
Error and warning detection stops working after a while #204
Comments
Hi @jecs , thanks for reporting this! I haven't seen this myself, and it is odd that this is corrected by disconnecting/reconnecting to MATLAB. Syntax highlighting should be handled by VS Code natively, and nothing from the MATLAB application should be impacting syntax highlighting. It does sound that MATLAB is occasionally freezing in some way, hence needing to force-quit old instances. Can you please share the following:
|
Hi, @dklilley. Thanks for the prompt response. Ah, I just realized that I did not describe the problem 100% accurately: It's not syntax highlighting itself but the highlighting of errors and warnings with yellow and red that stops working. I will edit the title of this bug report. I will also send you a screenshot and logs when this issue pops up again (it can be quite random). |
That makes more sense, thanks for the clarification! In the log directory, there should be a |
The error has happened today, and I believe that the matlabLog.txt reflects that. I attach it here. The new instance of Matlab starts after disconnecting and then connecting midway in the file. I'll attach a screenshot or .gif when the issue pops up again. |
Thanks for the extra information and the logs! Unfortunately, I don't see anything related in the logs, but it does seem that MATLAB might be hanging.
|
|
I spoke too soon. The issue just popped up again. |
Thanks for the confirmation. Something seems to be happening on the MATLAB side which is causing it to hang or otherwise become unresponsive. Unfortunately, I haven't been able to determine anything from the extension's logs. I would suggest reaching out to MathWorks Support, as they will have other diagnostics which they can try. |
Thanks, @dklilley. I will reach out to them. The request was assigned Case Number 07577589. |
I'm in the middle of working through this issue with support. No luck so far. However, I did notice that the extension seems to have a bit of trouble with paths. languageServerLog.txt
matlabLog.txt
|
Describe the bug
After using VSCode for a while (usually 30 minutes+),
syntax highlightingerror and warning detection stops working (i.e. I get false positives and generic errors). The only way to remedy this issue is to "disconnect" from Matlab and then connect again. It seems that the instance tied tosyntax formattingerror and warning detection hangs or becomes unresponsive for some reason. Instances of Matlab remain open even after disconnecting, requiring force quitting the old instances.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect error and warning detection to work flawlessly and not to require constantly needing to disconnect and connect to new instances of Matlab.
Useful Information
Additional context
This has been an issue for as long as I have used this extension. It happens even when using the ssh plugin to run the extension on a remote Linux server. It doesn't seem to be an issue with VSCode's version and it doesn't seem to be unique to macOS, though I guess that it could be a problem with the macOS VSCode client itself. I should also add that I am using the "New Desktop" addon in Matlab locally but not on the Linux machine.
The text was updated successfully, but these errors were encountered: