-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Semantic Highlighting hangs for the following C++ code #10105
Comments
Thank you for reporting this, it seems like the addition of the Foo struct in main is causing a memory issue and makes the extension crash. Currently looking into this issue further. |
It looks like this is an error with Visual Studio as we share the same intellisense codebase, I will be filing a bug against their source as that is where the fix will be. You can track this issue to see when it is fixed by the VS team. (1665366) |
The fix is available with 1.14.0 (pre-release): https://github.com/microsoft/vscode-cpptools/releases/tag/v1.14.0 |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
The following code causes semantic highlighting for C++ to stop working. When trying to Inspect Editor Tokens and Scopes, where it would normally describe the token just shows "Loading..." indefinitely.
The code compiles successfully with MSVC.
Steps to reproduce:
Expected behavior
Semantic highlighting should work with this code.
Code sample and Logs
This happens in an empty workspace, regardless of where the file is placed, as well as in a project.
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: