Open janfeitsma opened 6 days ago
With "C_Cpp.intelliSenseEngine": "Tag Parser",
set, cpptools-srv is not supposed to be launched. I'm guessing the copilot call back code is not checking for that setting and trying to launch cpptools-srv when it shouldn't. Changing Cpp.intelliSenseEngine to "default" might fix it, not sure yet.
I'm not able to repro this. I don't see a cpptools-srv launched when C_Cpp.intelliSenseEngine is "Tag Parser". I'll ask if anyone else on our team is able to repro it.
Thanks Sean.
I kicked out all the custom C_Cpp settings which I gathered over the past weeks trying to debug this specifically:
myrepo/.vscode/settings.json
"C_Cpp.intelliSenseCacheSize": 0,
"C_Cpp.intelliSenseUpdateDelay": 300,
"C_Cpp.intelliSenseEngine": "Tag Parser",
"C_Cpp.default.browse.limitSymbolsToIncludedHeaders": true,
"C_Cpp.loggingLevel": "Debug"
Had a closer look at the ps tree, I noticed two versions of cpptools running: 1.22.4
and 1.22.3
. Now I wonder: maybe cpptools-srv was somehow associated to the older one. So I did a reboot.
Soon after restarting vscode and resuming development, cpptools-srv appeared again. Running 100% CPU for a while. Problem persists.
Maybe relevant to mention I use bazel build. What other info should I provide?
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Laptop heats up, fan goes to 100% when using VScode. Inline copilot symbol (yellow stars) disappeared. Process
cpptools-srv
is at 100% for 30minutes already.Steps to reproduce: Depends on my codebase / branch. If needed, I can share a link. But I would prefer instead some debug logging / insight which file it is having so much trouble with.
Expected behavior: No laptop overheating. Proper copilot function.
Configuration and Logs