-
Notifications
You must be signed in to change notification settings - Fork 39.7k
Slow to create many Watch dropdown expressions #88240
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issueson-release-notesIssue/pull request mentioned in release notesIssue/pull request mentioned in release notesverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issueson-release-notesIssue/pull request mentioned in release notesIssue/pull request mentioned in release notesverifiedVerification succeededVerification succeeded
Issue Type: Bug
The Watch dropdown in the Debug tab becomes slow to respond to user input when there are many expressions being watched in it.
To reproduce (I'm using node js for debugging):
New js file...
Create lots of variables (I don't know if the size of the information in the variables matters or not so I just added a decently sized array):
a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z= [12,253,5,457,32,3647,48,56,679,567,45]Then in the Watch dropdown, create a separate expression for every variable.
i.e.
a
b
c
d
...
Since I've done the whole alphabet you should have 26 individual Watch expressions. You should notice that the dropdown starts to take longer and longer to respond as you add more and more expressions.
VS Code version: Code - Insiders 1.42.0-insider (629a08e, 2020-01-07T05:28:24.258Z)
OS version: Windows_NT x64 10.0.18362
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled