microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.59k stars 29.03k forks source link

Crashes on function definition #176488

Closed SkelegonDK closed 1 year ago

SkelegonDK commented 1 year ago

Type: Bug

startTimer() { // set timer timer = setInterval(function() {

}

VS Code version: Code 1.76.0 (92da9481c0904c6adfe372c12da3b7748d74bdcb, 2023-03-01T10:23:45.993Z) OS version: Darwin x64 21.6.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 2000)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
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)|8, 6, 7| |Memory (System)|16.00GB (1.07GB free)| |Process Argv|--crash-reporter-id f6aac653-6e17-48f7-9f4d-bc5ef27a151a| |Screen Reader|no| |VM|0%|
Extensions (63) Extension|Author (truncated)|Version ---|---|--- python-image-preview|076|0.1.2 codesnap|adp|1.3.4 preview-mp4|ana|0.0.1 html-end-tag-labels|ant|0.11.0 astro-vscode|ast|0.28.2 linkcheckerhtml|Bil|6.3.0 ruff|cha|2023.8.0 nebula-theme|Chi|1.3.3 path-intellisense|chr|2.8.4 vscode-clock|Com|0.0.1 vscode-markdownlint|Dav|0.49.0 vscode-hasher|dee|1.0.1 snippet|dev|1.1.0 python-environment-manager|don|1.0.4 vscode-great-icons|emm|2.1.91 pipenv-scripts|Fed|1.0.3 html-preview-vscode|geo|0.2.5 copilot|Git|1.77.9225 gc-excelviewer|Gra|4.2.56 todo-tree|Gru|0.0.224 vscode-test-explorer|hbe|2.21.1 beautify|Hoo|1.5.0 screeny|Hou|0.2.0 vscode-cdnjs|Jak|0.19.0 vscode-placeholder-images|Jak|0.1.0 vscode-gutter-preview|kis|0.30.0 vscode-python-test-adapter|lit|0.7.1 json|Mee|0.1.2 python-path|mge|0.0.14 git-graph|mhu|1.30.0 ecdc|mit|1.8.0 theme-monokai-pro-vscode|mon|1.2.0 vscode-docker|ms-|1.24.0 vscode-edge-devtools|ms-|2.1.1 isort|ms-|2022.8.0 python|ms-|2023.4.0 vscode-pylance|ms-|2023.3.10 jupyter|ms-|2023.2.1000592019 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.282.0 live-server|ms-|0.5.2023030701 test-adapter-converter|ms-|0.1.6 color-highlight|nau|2.5.0 live-server-preview|neg|0.1.4 emoji|Per|1.0.1 explorer-exclude|Pet|1.3.2 polacode|pnp|0.3.4 vscode-css-peek|pra|4.2.0 LiveServer|rit|5.7.9 scramble|rub|1.0.3 pip-manager|sli|1.1.3 vscode-taskexplorer|spm|2.13.2 vscode-mdx|uni|1.2.5 highlight-matching-tag|vin|0.10.1 vscode-icons|vsc|12.2.0 highlight-bad-chars|wen|0.0.6 vscode-mdx-preview|xyc|0.3.3 emmet-live|yse|1.0.0 markdown-all-in-one|yzh|3.5.0 html-css-class-completion|Zig|1.20.0 (6 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 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 azure-dev_surveyone:30548225 pyindex848:30662994 nodejswelcome1cf:30587006 282f8724:30602487 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 showlangstatbar:30672706 vsccsb:30677849 ```
gjsjohnmurray commented 1 year ago

/needsMoreInfo such as what "crashes" means, what language you are coding in, and whether the problem reproduces with all extensions disabled (I recommend the Start Extension Bisect command).

vscodenpa commented 1 year ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!