microsoft / microsoft/vscode-edge-devtools
Causes VSCode to crash on big projects
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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