skip to Main Content

VScode has been crashing every time I open it, used to work perfectly before. Its extremely slow (25-35s) to start and is unresponsive immediately.

Unresponsive&&SlowStartup

The window is not responding

You can reopen or close the window or keep waiting.

Already tried the following:

  • Reinstalling
  • Launching after disabling extensions
  • Same problem with VS Code Insiders
  • Restart
  • Fresh Install with no extensions also doesn’t seem to work.

None of it worked.

FIXED: https://github.com/microsoft/vscode/issues/178733

versions – code-1.77.0 & code-insiders-1.78.0

2

Answers


  1. The issue was caused by McAfee AntiVirus.

    There is related discussion in this VS Code issue ticket: VS Code too slow during startup after recent update #177570 (reported for VS Code 1.76.2)

    If you want to add exclusion rules, on Windows, a user install is located under C:Users<username>AppDataLocalProgramsMicrosoft VS Code, and a system install under C:Program FilesMicrosoft VS Codebin.

    Login or Signup to reply.
  2. The issue is resolved if you put code.exe as an excluded file in McAfee real-time scanning (or whichever antivirus you’re using).

    The exe is generally found in windows at the location:

    C:Users<username>AppDataLocalProgramsMicrosoft VS Code

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search