vscode: VSCode blocked on loading

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.84.0 (d037ac076cee195194f93ce6fe2bdfe2969cc82d x64)
  • OS Version: Elementary-OS 6.1 Jolnìr

Steps to Reproduce:

  1. Open VSCode (Just by opening VSCode, it seems like it’s stuck on loading, and can’t properly open. Happens everytime, no matter what i do)

Attaching Images to show how VSCode Windows look like after some time passes or even if i try to create new files, open new windows etc. Can’t do anything at all, and i’m stuck.

Image 1: Today at 20:20:55 (7 mins before writing this) Screenshot from 2023-11-05 20 20 55

Image 2: Yesterday at 17:17:33 (One day before writing this) Screenshot from 2023-11-04 17 17 33

The problem still persists even when i open a new window, or try to close VSCode, or even dump its cache or the computer’s whole cache.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

It looks like your state was corrupted. Try deleting workbench.activity.placeholderViewlets key from the state and retry

  • Shutdown VS Code
  • Install the tool - https://sqlitebrowser.org/ and Open the tool.
  • Open the folder where your VS Code settings are stored.
  • Open the state.vscdb file located under globalState folder using above tool
  • Look for above key and copy the value of the key and please share it here.
  • Delete the record, write the changes and close the database as shown in the following video
  • Restart VS Code

https://github.com/microsoft/vscode/assets/10746682/71a43343-d5d3-4c86-89b7-fe02e82f27e0

Please see https://code.visualstudio.com/updates/v1_82#_update-highlights-for-chromium for advice about clearing the GPU cache. I think this may need to be done after each VS Code update until the upstream issue gets fixed.