aravind ks
aravind ks

Reputation: 694

Error : Extension host terminated unexpectedly in VS Code

Many of you faced the error while coding in vs code unexpectedly. I had also faced the issue while coding and it seems to be a tall-order task to fix the issue.

enter image description here

Many of you tried even I also tried the following methods

  1. removed git folder
  2. uninstalled all extensions
  3. disabled the git in the settings.json file
  4. removed cached files of the software
  5. even uninstalled VS code and installed it again, but it gives me the same error that says: "Extension host terminated unexpectedly"

so what's the solution for this problem ?

Upvotes: 12

Views: 15346

Answers (2)

Work Samsung
Work Samsung

Reputation: 11

I tried the Extension Bisect but it did not work. Then proceeded to disable all the extensions but then also the error came. I uninstalled extensions but still the error came up.

I disabled the breakpoints and then the error went surprisingly. Breakpoints are disabled

Upvotes: 1

aravind ks
aravind ks

Reputation: 694

The solution for the problem :

  1. Open your vscode and launch the command palette by ctrl + shift + p enter image description here

  2. Start the Extension Bisect

  3. You can see a pop-up window like this

enter image description here

If your vscode works perfectly, select "Good now"
However, if you see the error "Extension host terminated unexpectedly", select the "This is bad" option.

  1. This program is a binary search algorithm which finds the extensions that cause the root problem and fix the issue that currently faces

Upvotes: 31

Related Questions