-
Notifications
You must be signed in to change notification settings - Fork 1.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
C/C++ Code hints often disappear suddenly #5629
Comments
@fm123456 cpptools-srv might be crashing. Do you see any "failed" messages in the C/C++ Output logs? @Nathaniel7687 The download has some issue. Can you try installing the offline vsix at https://github.com/microsoft/vscode-cpptools/releases/tag/0.28.3 ? |
@sean-mcmanus Even if, the vscode installed, the offline vsix cannot install the extension with the below error. FYI, my vscode version is 1.45.1.
|
@Nathaniel7687 Don't double-click it -- that causes Windows to try to use the default .vsix handler of VS and not VS Code. InstructionsTo use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code. |
@sean-mcmanus Thanks for your guidance. The problem is solved. |
@sean-mcmanus hi, sean-mcmanus. How to see if cpptools-srv has crashed. the cpptools-srv is still running when code hint has uneffect It seems that cpptools-srv has crashed,but then restarted |
@fm123456 Yeah, cpptools-srv will usually restart after a crash. Our next release will have some crash fixes for cpptools-srv. You could attach a debugger to cpptools-srv before the crash to get a crash call stack if you want us to identify which crash is occurring. |
@sean-mcmanus i find some cpptools-srv corefile, call stack are shown in the picture below |
@fm123456 This crash has already been fixed in our pending 0.29.0-insiders. This is the 1st user report of the crash though. |
@sean-mcmanus thanks |
This crash should be fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/0.29.0-insiders . |
Code hints often disappear suddenly, and it will take effect only after restarting vscode. What is going on, can you help me?
The text was updated successfully, but these errors were encountered: