vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

c/c++ ext error

Open aeschli opened this issue 10 years ago • 14 comments

From @amither on August 4, 2016 5:13

  • VSCode Version: Code 1.3.1 (e6b4afa53e9c0f54edef1673de9001e9f0f547ae, 2016-07-12T13:35:06.227Z)
  • OS Version: Windows_NT ia32 6.1.7601

Steps to Reproduce:

1.install c/c++ ext 2. in my c++ project , error info : The C/Cpp Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.

Copied from original issue: Microsoft/vscode#10111

aeschli avatar Aug 04 '16 09:08 aeschli

@sridmad Please investigate. Thanks

pieandcakes avatar Aug 04 '16 18:08 pieandcakes

This should be fixed in the next release (cpp extension version 0.9.0) using VSCode version 1.4. If it still repros for you at that time please reopen this bug.

jgoshi avatar Aug 23 '16 19:08 jgoshi

I am using VSCode 1.5.3 and cpp extenion version 0.9.2, "The C/Cpp Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted." message appear.

andro78 avatar Sep 28 '16 23:09 andro78

@jgoshi This looks like it is still an issue.

pieandcakes avatar Sep 28 '16 23:09 pieandcakes

So I tried to install previous version of VSCODE(1.5.0), but same issue occurred.

andro78 avatar Sep 28 '16 23:09 andro78

More repro details would be great, since we can't repro this. Do you just open a folder? Any folder? One thing we could do in the future is to add more enable/disable settings so users can turn off functionality that is potentially crashing. Also, what is your OS? You may be using an unsupported OS.

sean-mcmanus avatar Sep 28 '16 23:09 sean-mcmanus

OS: windows 10(14393.222) No folder is opened. Just create a new file, set language to C++, type anything, then the issue would occur. I reinstall VSC, uninstall all other extensions, and reinstall C/C++ but it is still there.

natezhenghy avatar Oct 09 '16 12:10 natezhenghy

Yes, this is a known issue with using a newly created, unsaved file. You should save the new file to workaround this bug. Opening the folder the file is saved at would also be recommended.

sean-mcmanus avatar Oct 10 '16 14:10 sean-mcmanus

There is no new unsaved files.

andro78 avatar Nov 02 '16 23:11 andro78

When I switch to C/C++, this still happen

throne-albert avatar Nov 18 '16 21:11 throne-albert

VSCode 1.7.2 C/C++ Extention Version 0.9.2 Windows 10 Bug is still exsited.

neilhhw avatar Dec 03 '16 09:12 neilhhw

VSCode 1.7.2 C/C++ Extenion Version 0.9.2 macOS Sierra Bug is still exsited

wqhyw avatar Dec 06 '16 07:12 wqhyw

  • VSCode 1.8.1
  • C/C++ Extension Version 0.9.3: December 8, 2016
  • Windows 10

Bug still exists.

Workaround: Works only when file is saved.

basitanwer avatar Jan 25 '17 06:01 basitanwer

This bug doesn't seem to repro with 0.10.3.

sean-mcmanus avatar Mar 09 '17 23:03 sean-mcmanus