-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Issue Type: Bug
The extension C/C++ cannot be run after upgrading to version 0.21.0-insiders2.
The last version (0.21.0) runs well.
Way to reproduce:
- Upgrade the extension C/C++ to version 0.21.0-insiders2 (which may be performed automatically by VSCode - Insiders);
- Reload the window when VSCode informs you of that the extension has been upgraded and requires you to do so.
- VSCode will pop up two messages, which read:
Unable to start the C/C++ language server. IntelliSense features will be disabled. Error: Error: spawn UNKNOWN
and
Couldn't start client cpptools: Codes
while in the output window there appears the information of the error:
[Error - 下午4:51:09] Starting client failed
Error: spawn UNKNOWN
at ChildProcess.spawn (internal/child_process.js:357:11)
at Object.spawn (child_process.js:540:9)
at createMessageTransports._getServerWorkingDir.then.serverWorkingDir (.vscode-insiders\extensions\ms-vscode.cpptools-0.21.0-insiders2\node_modules\vscode-languageclient\lib\main.js:353:40)
Extension version: 0.21.0-insiders2
VS Code version: Code - Insiders 1.31.0-insider (e02e44464c02d617b98d0a3265bf5efef7794436, 2018-12-21T06:20:35.852Z)
OS version: Windows_NT x64 10.0.18305
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800) |
| GPU Status | 2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: enabled surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
| Memory (System) | 7.92GB (1.99GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 0% |