Skip to content

Missing include path caused cpptools-srv to grow to 5.5G. Only 400MB needed after missing path was added. #6424

@psclkhoury

Description

@psclkhoury

Type: LanguageService

Intellisense is not working in a certain file. I don't know the cause yet so I am not able to make a simple repro.

I see in the logging

Failed to read response from server: 20
Resetting IntelliSense server: C:\SOMEFILE.CPP

In the extension host logging, I see

[2020-11-02 15:37:49.425] [exthost] [error] onWillSaveTextDocument-listener from extension 'ms-vscode.cpptools' threw ERROR
[2020-11-02 15:37:49.425] [exthost] [error] Error: timeout
	at Timeout._onTimeout (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:638:581)
	at listOnTimeout (internal/timers.js:531:17)
	at processTimers (internal/timers.js:475:7)

But I get this message when opening most files so I dont think this is the cause.

Is there a way that I can get more info/logging on what is causing it to fail?

Extension Version 1.1.0-insiders3: October 22, 2020

Version: 1.50.1 (system setup)
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.17763

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions