microsoft / microsoft/vscode-edge-devtools

Causes VSCode to crash on big projects

Open
#4,970 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
827
Forks
358
Avg merge
20h 32m
Merged PRs (30d)
10

Description

Environment (please complete the following information):

  • OS (e.g., Windows 10): CachyOS (Archlinux)
  • Extension version (e.g., 1.2.3):
    2.1.10

Describe the bug:

I had this issue where the VSCode will crash after some time in a big project. I ran an extension bisect, and Microsoft Edge DevTools was determined to be the culprit. It seems this extension scans files that should be ignored, or it takes too long to analyze some files,s causing the crash. It also seems the scanning is synchronous, which breaks the whole editor.

Repro steps:

Hard to reproduce, but open the extension on big projects

Expected behaviour:

No crashes and no synchronous analysis

Additional context:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with Microsoft Edge DevTools for VS Code 2.1.10 enabled in a large project on CachyOS, then inspect the extension's file-scanning and analysis path. Check whether ignored files are scanned or analysis blocks the editor; done means large projects no longer crash and analysis is non-synchronous.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.