Skip to content
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

[insiders] IntelliSense process failing #4631

Closed
sean-mcmanus opened this issue Nov 18, 2019 · 4 comments
Closed

[insiders] IntelliSense process failing #4631

sean-mcmanus opened this issue Nov 18, 2019 · 4 comments
Labels
bug Feature: Configuration An issue related to configuring the extension or IntelliSense Language Service more info needed The issue report is not actionable in its current state

Comments

@sean-mcmanus
Copy link
Collaborator

https://pasteboard.co/IH4Ekzg.png
I'm having the same problem with the latest version of C++ Tools plugin 0.26.2-insiders. The elements.hpp file was working fine last night and it suddenly died today. Deleting the entire plugin folder and reinstalling it don't work out.

@michelleangela here are my logs, if you'd like to see

C/C++ Log Diagnostics output:
https://pastebin.com/mTyrW9pu
C/C++ Debug of language server output after a window reload:
https://pastebin.com/xrWJ7Rnw

The problematic project is on my github page; the problematic file has no read/write permission issues on my computer.

VSCode: 1.40.1
Plugin: 0.26.2-insiders
System: Ubuntu 18.04LTS

Originally posted by @RigoLigoRLC in #4605 (comment)

@sean-mcmanus
Copy link
Collaborator Author

@RigoLigoRLC What is the problematic project on your GitHub page?

What is the symptom of the problem you're seeing?

@sean-mcmanus sean-mcmanus added bug Feature: Configuration An issue related to configuring the extension or IntelliSense Language Service more info needed The issue report is not actionable in its current state labels Nov 18, 2019
@RigoLigoRLC
Copy link

RigoLigoRLC commented Nov 23, 2019

@RigoLigoRLC What is the problematic project on your GitHub page?

What is the symptom of the problem you're seeing?

It's on the picture maybe you didn't see; it's LC2KiCad on my GitHub homepage which is the only C++ Project I own.
Symptoms: simply cannot make IntelliSense work on the elements.hpp. Everything else is in my original post.
It sometimes works and shows the error squiggles, but after you fixing the error it dies again.

Other files still can read that file. If I change the class definitions in the elements.hpp, the plugin will report error for having no matching definitons in elements.cpp. I don't exactly know what's going on.

@sean-mcmanus
Copy link
Collaborator Author

The screenshot shows that a crash occurred ("failed to read response"). Are you able to attach a debugger before the process crashes to get a call stack? I'm not reproing the crash using the project on Linux.

Insiders has an issue that can cause the "Can't create IntelliSense client" message to appear for open documents when the extension initializes. Is that what you're seeing or do you still get the error when you open new files that are not active on startup?

Also, there are 3 modes of configuring, (1) with configurationProvider set, (2) with compileCommands set, or with none of those set (just using c_cpp_properties.json) -- which setups cause the problems for you?

@michelleangela
Copy link
Contributor

Closing this issue due to long inactivity. Please re-open for further investigation and with any updated information.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Feature: Configuration An issue related to configuring the extension or IntelliSense Language Service more info needed The issue report is not actionable in its current state
Projects
None yet
Development

No branches or pull requests

3 participants