vscode: When I use the keyboard to comment out more than 15 lines of code (excluding blank lines) in VSCode, it crashes.
Type: Bug
When I use the keyboard to comment out more than 15 lines of code (excluding blank lines) in VSCode, it crashes. However, if I use the comment button in the menu bar, it doesn’t crash. I haven’t found any useful information in the VSCode editor logs and this has been bothering me for years. I don’t know how to solve it. This issue occurs on both my work and home computers.
提交: b7886d7461186a5eac768481578c1d7ca80e2d21 日期: 2023-04-04T23:21:11.906Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.19044 沙盒化: No
VS Code version: Code 1.77.1 (b7886d7461186a5eac768481578c1d7ca80e2d21, 2023-04-04T23:21:11.906Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel® Core™ i7-9700 CPU @ 3.00GHz (8 x 3000) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 23.79GB (11.17GB free) |
| Process Argv | –folder-uri file:///e%3A/minigame/%E9%AA%91%E4%B9%90%E5%9C%88 --crash-reporter-id 659ebe75-b22f-406c-85a3-dbfe9b0d79f3 |
| Screen Reader | no |
| VM | 40% |
Extensions (39)
| Extension | Author (truncated) | Version |
|---|---|---|
| markdown-mermaid | bie | 1.18.1 |
| codeium | Cod | 1.1.73 |
| vscode-office | cwe | 3.0.7 |
| vscode-html-css | ecm | 1.13.1 |
| EditorConfig | Edi | 0.16.4 |
| eppz-code | epp | 1.2.52 |
| prettier-vscode | esb | 9.10.4 |
| vscode-solution-explorer | fer | 0.8.2 |
| code-runner | for | 0.12.0 |
| todo-tree | Gru | 0.0.225 |
| vue-snippets | hol | 1.0.4 |
| vscode-csharp-snippets | jor | 1.1.0 |
| docomment | k– | 1.0.0 |
| vscode-codemetrics | kis | 1.26.1 |
| unity-code-snippets | kle | 1.3.0 |
| vscode-leetcode | lib | 0.18.2 |
| json-to-ts | Mar | 1.7.5 |
| vscode-language-pack-zh-hans | MS- | 1.77.2023040509 |
| csharp | ms- | 1.25.4 |
| mono-debug | ms- | 0.16.3 |
| vscode-typescript-next | ms- | 5.1.20230411 |
| color-highlight | nau | 2.5.0 |
| godot-csharp-vscode | nei | 0.2.1 |
| vetur | oct | 0.37.3 |
| indent-rainbow | ode | 8.3.1 |
| vuehelper | oys | 0.1.0 |
| vscode-versionlens | pfl | 1.5.0 |
| tsimporter | pmn | 2.0.1 |
| quicktype | qui | 12.0.46 |
| LiveServer | rit | 5.7.9 |
| nunjucks | ron | 0.3.1 |
| partial-diff | ryu | 1.4.3 |
| trailing-spaces | sha | 0.4.1 |
| vscode-unity-debug | shi | 3.0.13 |
| msbuild-project-tools | tin | 0.4.9 |
| sort-lines | Tyr | 1.9.1 |
| volar | Vue | 1.2.0 |
| unity-snippets | Ycl | 0.1.2 |
| html-css-class-completion | Zig | 1.20.0 |
(1 theme extensions excluded)
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
nodejswelcome1cf:30587006
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
6233i204:30672705
vsccsb:30705552
vscodedisable:30660115
pythonb192cf:30669361
functionswalk:30687959
pythonms35:30701012
pythonfmttext:30710681
pythonclientmv:30708685
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 20 (6 by maintainers)
@shiyuanGame I cannot reproduce a crash by configuring
editor.accessibilitySupport: onand commenting out more than 15 lines of code. Could you please follow the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues to obtain a crash dump?Maybe this is coming from an extension.
Please use the Start Extension Bisect command to investigate whether your problem is being caused by an extension.