Visual Studio Code causing blue screen of death on Windows

0

I have Visual Studio Code version 1.22.2 running on Windows. When working on Javascript code, it crashes and causes a blue screen with the following technical info:

STOP: 0X0000007E
mfeavfk.sys - Address <...>

I have a plugin for MS SQL and a beautify plugin installed.

visual-studio-code
bsod
asked on Stack Overflow Apr 30, 2018 by Sunil • edited Feb 23, 2019 by Joshua Wade

1 Answer

1

I recently updated Windows and started experiencing BSODs every time I started VS Code. Here's how I fixed it - hopefully this helps someone else:

  1. Open a command prompt and type the following command:
code --disable-extensions

If your computer doesn't BSOD after this step, then an extension is likely causing the issue.

  1. Press ctrl+shift+x to open the extensions sidebar
  2. Under disabled, uninstall any extensions you aren't using or don't recognize.
  3. Restart VS Code, and see if it still crashes.
  4. If step 3 didn't help, try removing all extensions and then reinstalling one at a time until you find one that causes the crash. Then repeat steps 1-4, this time removing the extension you identified as causing the crash.
answered on Stack Overflow Feb 22, 2019 by Joshua Wade • edited Feb 22, 2019 by Joshua Wade

User contributions licensed under CC BY-SA 3.0