Skip to content

Window slow and then frezzes when debuggin MacOS #228879

Closed as not planned
Closed as not planned
@WisyNim

Description

Type: Performance Issue

Whenever I try to debug a certain part of my code, VS Code becomes very slow until it freezes and ask me to reopen the window.

I've tried debuggin my code with Android Studio and it worked perfectly fine. Also another coworker of mine is experiencing the same issue. Both of us using M1 MacBooks. I've tried reproducing it on Linux and Windows but it worked fine, seems to be just MacOS.

I've tried dissabling all the extensions and the issue persists.

VS Code version: Code 1.93.1 (38c31bc, 2024-09-11T17:20:05.685Z)
OS version: Darwin arm64 23.5.0
Modes:

System Info
Item Value
CPUs Apple M1 Pro (10 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 4, 4, 4
Memory (System) 16.00GB (0.05GB free)
Process Argv --crash-reporter-id 6ce1354f-20bd-4160-af79-b9852c501aab
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   10	   131	 36043	code main
    1	    66	 36046	   gpu-process
    0	    16	 36047	   utility-network-service
    1	    82	 36077	shared-process
    0	     0	 51256	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    33	 36083	ptyHost
    0	     0	 43954	     /bin/zsh -il
    0	   262	 50944	window [5] (recognition.dart — ferrero-mobile)
    0	   262	 50950	extensionHost [5]
    1	    66	 50955	     electron-nodejs (config.js )
    0	     0	 51084	       /usr/bin/script -t 0 /dev/null /usr/bin/arch -arm64e xcrun xcdevice observe --usb
    0	    33	 51085	         /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice observe --usb
    0	     0	 51086	       /usr/bin/script -t 0 /dev/null /usr/bin/arch -arm64e xcrun xcdevice observe --wifi
    0	    33	 51087	         /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice observe --wifi
    0	   786	 50956	     /Users/alejandro/fvm/versions/3.19.6/bin/cache/dart-sdk/bin/dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.96.0
    0	  1180	 51092	       /Users/alejandro/fvm/versions/3.19.6/bin/cache/dart-sdk/bin/dart --enable-vm-service=0 lib/custom_lint_client.dart ::1 49910
    0	     0	 51093	         <defunct>
    0	    66	 50957	     /Users/alejandro/fvm/versions/3.19.6/bin/cache/dart-sdk/bin/dart devtools --machine --allow-embedding
    0	    49	 50951	fileWatcher [5]
Workspace Info
|  Window (recognition.dart — ferrero-mobile)
|    Folder (ferrero-mobile): 16284 files
|      File types: h(7452) cc(994) c(697) grpc_back(501) m(424) plist(408)
|                  dart(363) swift(276) svg(268) xcprivacy(151)
|      Conf files: launch.json(1) settings.json(1) tasks.json(1)
|      Launch Configs: dart(7);
Extensions (13)
Extension Author (truncated) Version
better-comments aar 3.0.2
dart-code Dar 3.96.0
flutter Dar 3.96.0
copilot Git 1.229.0
copilot-chat Git 0.20.1
dart-data-class-generator hzg 0.5.4
dart-import lua 0.3.1
git-graph mhu 1.30.0
vscode-versionlens pfl 1.14.2
vscode-thunder-client ran 2.25.4
vscode-yaml red 1.15.0
flutter-riverpod-snippets rob 1.2.2
errorlens use 3.20.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31134774
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
fje88620:31121564
iacca2:31138163

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions