Cannot read properties of undefined (reading 'hasDynamicHeight')
TypeError: Cannot read properties of undefined (reading 'hasDynamicHeight')
at ifi.Cb in src/vs/base/browser/ui/list/listView.ts:1596:13
at ifi.Bb in src/vs/base/browser/ui/list/listView.ts:1527:23
at ifi.W in src/vs/base/browser/ui/list/listView.ts:699:9
at ifi.splice in src/vs/base/browser/ui/list/listView.ts:587:16
at <anonymous> in src/vs/base/browser/ui/list/splice.ts:17:35
at Array.forEach (<anonymous>)
at gNi.splice in src/vs/base/browser/ui/list/splice.ts:17:20
at <anonymous> in src/vs/base/browser/ui/list/listWidget.ts:1584:57
at fn in src/vs/base/common/event.ts:1717:13
at r4i.splice in src/vs/base/browser/ui/list/listWidget.ts:1584:22
2025-02-17 11:24:31.890 [error] [Window] Cannot read properties of undefined (reading 'hasDynamicHeight'): TypeError: Cannot read properties of undefined (reading 'hasDynamicHeight') at ipi.Fb (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:27625) at ipi.Eb (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:26914) at ipi.layout (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:16691) at fVi.layout (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:307:8769) at $v.layout (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:411:77738) at xf.layout (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:412:28540) at uwe.L (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2044:2181) at vte.value (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2044:5750) at x.B (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392) at x.C (vscode-file://vscode-app/.../Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2462)
Context: WSL + python debugger
same issue.
This happens for me in the debug console after the recent update.
Same here (custom codium build)
Version: 1.97.2 Release: 25045 Commit: 7211e5a20b57d2e57d119144ac954542a24b547b Date: 2025-02-14T18:21:12.766Z Electron: 32.2.7 ElectronBuildId: undefined Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Linux x64 6.8.0-52-generic
Thought this was from my code as "DynamicHeight" is a term used in oceanography! Comforting to see that it's a recognized vscode error.
Same issue; powershell + python debugger.
Version: 1.97.0 (system setup)
Commit: 33fc5a94a3f99ebe7087e8fe79fbe1d37a251016
Date: 2025-02-04T22:41:26.688Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045
2025-02-21 19:53:45.368 [error] [Window] Cannot read properties of undefined (reading 'hasDynamicHeight'): TypeError: Cannot read properties of undefined (reading 'hasDynamicHeight')
at ipi.Fb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:27625)
at ipi.Eb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:26914)
at ipi.Z (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:15004)
at ipi.splice (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:13453)
at vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:262:96
at Array.forEach (<anonymous>)
at x$i.splice (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:262:83)
at vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:307:7637
at T3.bufferEvents (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:5472)
at fVi.splice (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:307:7613)
2025-02-21 19:53:45.369 [error] [Window] Cannot read properties of undefined (reading 'hasDynamicHeight'): TypeError: Cannot read properties of undefined (reading 'hasDynamicHeight')
at ipi.Fb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:27625)
at ipi.Eb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:26914)
at ipi.nb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:22078)
at x.B (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392)
at x.C (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2462)
at x.fire (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2680)
at wte.value (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:35768)
at x.B (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392)
at x.fire (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2611)
at g$.n (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:32998)
2025-02-21 19:53:52.312 [error] [Window] No debugger available, can not send 'completions': Error: No debugger available, can not send 'completions'
at Vet.completions (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2200:28158)
at Object.provideCompletionItems (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2036:34656)
at vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:429:31700
at Array.map (<anonymous>)
at ioe (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:429:31482)
at QNe.trigger (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:442:16498)
at vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:442:15653
at vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:75959
2025-02-21 19:53:54.731 [error] [Window] Cannot read properties of undefined (reading 'hasDynamicHeight'): TypeError: Cannot read properties of undefined (reading 'hasDynamicHeight')
at ipi.Fb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:27625)
at ipi.Eb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:26914)
at ipi.nb (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:22078)
at x.B (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392)
at x.C (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2462)
at x.fire (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2680)
at wte.value (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:35768)
at x.B (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392)
at x.fire (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2611)
at g$.n (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:32998)
same error happens to me today using WSL + debugpy
Cannot read properties of undefined (reading 'hasDynamicHeight')
Same issue using debugger and python.
Same issue with vscode + python debugger.
Opening the "debug console" window and trying to enter a variable sometimes results in this bug. The console window is completely empty in that case. The result of your expression either appears for a split second only - or sometimes becomes visible once you increase the vertical height of the debug console window -> it seems the bottom of the output appears higher than the top of the debug window.
vscode 1.97.2
Same issue, vscode (1.97.2) + python debugger on macOS 15.3.1
Same here with VSCode 1.97.2 + python Debugger 2025.0.1
Same issue.
Same issue
Same issue. Python development + debugging. Happens when I use the debug console. I can still use the variables view in the debug side panel.
2025-03-01 09:57:31.904 [error] [Window] Cannot read properties of undefined (reading 'hasDynamicHeight'): TypeError: Cannot read properties of undefined (reading 'hasDynamicHeight') at ipi.Fb (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:27625) at ipi.Eb (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:26914) at ipi.nb (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:264:22078) at x.B (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392) at x.C (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2462) at x.fire (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2680) at vte.value (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:35768) at x.B (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392) at x.fire (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2611) at g$.n (vscode-file://vscode-app/c:/Users/61603/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:32998)
I too am experiencing this issue. At the same time it began, autocomplete stopped working as reported in #241402. I was hopeful both were resolved with #239900 but they were not. (I never experienced the unresponsive console described in that issue.)
same issues in python debugger. Whats the fix?
Same Issue with 1.97.2 on Ubuntu 20 Downgraded to 1.96.0 - and debug console working fine.
This issue was raised here also - https://github.com/microsoft/vscode/issues/241402 but it was closed from some reason 🤷
Same issue
Same issue
Same
Same issue, appeared recently, probably after some kind of update. Happens when I try to inspect a response from OpenAI(...).chat.completions.create(...)
Same
Check directory resources.
Same issue. I do alot of work in the python debug console. I see this error and then the debug console is no longer responding to input
same issue
same
same issue with vscode 1.97.2 and python debugger 2025.1 solved after updating python debugger to 2025.4
same issue with vscode 1.98.0 and python debugger 2025.4.0
Same issue with: Version: 1.98.0 (Universal) Commit: 6609ac3d66f4eade5cf376d1cb76f13985724bcb Date: 2025-03-04T21:06:18.612Z Electron: 34.2.0 ElectronBuildId: 11044223 Chromium: 132.0.6834.196 Node.js: 20.18.2 V8: 13.2.152.36-electron.0 OS: Darwin arm64 24.3.0
Is there any resolution?