lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
4 stars 3 forks source link

Code helper hangs #88

Closed edwardalee closed 1 year ago

edwardalee commented 1 year ago

Every once in a while, the VS Code helper on my Mac goes into an infinite loop using 100% of CPU and hanging. Code displays a box offering to reopen and the Activity Monitor shows 100% usage:

image
edwardalee commented 1 year ago

A bit more information. This happened again, but now it was cpptools hanging. Killing the process resulted in this:

image
petervdonovan commented 1 year ago

This seems like these might be two separate bugs. Code helper apparently has multiple GitHub issues that either are open or that got closed without resolution. https://github.com/microsoft/vscode/issues/148226 is an example. It seems like this problem might be macOS-specific. There is a lot of discussion about it in the internet apparently, including a possible workaround here.

I'm not entirely sure whether code helper is related to anything we do since the only mentions I could find of it are these bug reports :sweat_smile:. But definitely the problem with cpptools is not our issue, since our language server does not and probably will not ever interact with cpptools, except by creating CMakeLists.txt files that confuse it.

edwardalee commented 1 year ago

Ok, let's close this then.