Skip to content

VS Code show variables values near the declaration #240623

@cirmic

Description

@cirmic

Image

Type: Performance Issue

It appears the values of the variables in a yellow box near the declaration. This appear after the update to VS Code 1.97.1.
Before the update, the IDE doesn't have this behaviour.

VS Code version: Code 1.97.1 (e249dad, 2025-02-10T13:13:58.153Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz (40 x 2195)
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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.70GB (46.85GB free)
Process Argv --user-data-dir C:\Users\user\AppData\Roaming\.anaconda\navigator\Code --crash-reporter-id c9869142-a27f-4bee-8414-aa6c32a1b30e
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   142	  9656	code main
    0	   139	  7052	ptyHost
    0	    80	   496	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    13	  3580	     conpty-agent
    0	    15	  4412	     conpty-agent
    0	    13	  6828	     conpty-agent
    0	    80	  6848	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    13	  7436	     conpty-agent
    0	    14	  7460	     conpty-agent
    0	    13	 12000	     conpty-agent
    0	    80	 12352	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    80	 12552	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    88	 13032	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    80	 13356	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    80	 13428	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    94	 13476	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    14	 14644	     conpty-agent
    0	    80	 16544	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    13	 17444	     conpty-agent
    0	    80	 18028	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    87	 18372	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    87	 18516	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    13	 18692	     conpty-agent
    0	    93	 18808	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    14	 19476	     conpty-agent
    0	    13	 20076	     conpty-agent
    0	    13	 20320	     conpty-agent
    0	    80	 21676	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    13	 21828	     conpty-agent
    0	    14	 22036	     conpty-agent
    0	    88	 22880	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    14	 22988	     conpty-agent
    0	   122	 10984	shared-process
    0	    63	 11560	   utility-network-service
    0	   338	 11608	extensionHost [2]
    0	   116	  6856	     "C:\Program Files\Microsoft VS Code\Code.exe" "c:\Program Files\

![Image](https://github.com/user-attachments/assets/473860f9-484f-4110-9765-0eeee5fd26d4)

Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=11608
    0	    21	 22784	       C:\WINDOWS\system32\conhost.exe 0x4
    0	    13	 12596	     c:\Users\user\.vscode\extensions\ms-python.python-2025.0.0-win32-x64\python-env-tools\bin\pet.exe server
    0	    19	 15148	       C:\WINDOWS\system32\conhost.exe 0x4
    0	    25	 19280	     C:\Users\user\anaconda3\envs\ana_tf_310\python.exe c:\Users\user\.vscode\extensions\ms-python.debugpy-2025.0.1-win32-x64\bundled\libs\debugpy\adapter
    0	    19	 19192	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   403	 21156	     electron-nodejs (bundle.js )
    0	   101	 11752	fileWatcher [3]
    0	   101	 13600	fileWatcher [2]
    0	    35	 14268	   crashpad-handler
    0	   153	 16056	   gpu-process
    0	   204	 17772	extensionHost [1]
    0	    11	  3248	     c:\Users\user\.vscode\extensions\ms-python.python-2025.0.0-win32-x64\python-env-tools\bin\pet.exe server
    0	    11	 19872	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   342	  6036	     electron-nodejs (bundle.js )
    0	    14	 17940	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   220	 19928	window [3] (Settings - My_Program - Visual Studio Code)
    0	   475	 21648	extensionHost [3]
    0	    11	 12136	     c:\Users\user\.vscode\extensions\ms-python.python-2025.0.0-win32-x64\python-env-tools\bin\pet.exe server
    0	    11	  7700	       C:\WINDOWS\system32\conhost.exe 0x4
    0	    14	 10596	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   260	 22820	     electron-nodejs (bundle.js )
    0	    96	 21820	fileWatcher [1]
Workspace Info
|    Folder (My_Program): 9 files
|      File types: py(4) csv(3) pyc(1)
|      Conf files:
|    Folder (My_Program2): 80 files
|      File types: csv(33) png(20) py(8) pyc(5) 7z(3) pickle(3) json(1) txt(1)
|      Conf files: launch.json(1)
|      Launch Configs: debugpy
|    Folder (Python): 5887 files
|      File types: txt(3468) png(1348) dat(208) pickle(99) py(17) csv(6) m(5)
|                  zip(2) json(1) pyc(1)
|      Conf files: launch.json(1)
|      Launch Configs: python;
Extensions (11)
Extension Author (truncated) Version
continue Mic 1.3.0
debugpy ms- 2025.0.1
python ms- 2025.0.0
vscode-pylance ms- 2025.2.1
datawrangler ms- 1.18.2
jupyter ms- 2024.11.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.1.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
vscode-pydata-viewer Per 0.0.13
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31233690
customenabled:31234042
5a9hg449:31230677
9064b325:31222308
copilot_t_ci:31222730
jda6j935:31233686

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions