vectors and arrays are truncated in debug view.
@sean-mcmanus ci sta già lavorando.
Dal 14/4/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Environment
- OS and version: Windows 11
- VS Code: latest
- C/C++ extension: 0.4.6
- GDB / LLDB version: microsoft debugger
Bug Summary and Steps to Reproduce
When debugging large containers (e.g., vectors with thousands of elements), the VS Code debugger stops displaying element values after an arbitrary index. Instead, entries appear as empty ({}), even though the data is actually present.
Expanding an individual element reveals that the data exists and is correctly populated, which indicates this is a UI/display limitation rather than a data or debugger issue.
Expected Behavior
The debugger UI should:
- Display values for all visible elements in the watch/locals window.
- Use lazy loading / virtual scrolling to fetch only the elements currently in view.
- Dynamically request additional data as the user scrolls.
Actual Behavior
After a certain number of elements, entries are shown as {} (empty).
Values only appear when manually expanding each node.
This makes inspecting large datasets impractical.
Impact
This significantly reduces the usability of the debugger for:
Numerical computing
Graphics / simulation data
Any workload involving large arrays or vectors
Performance optimizations (like limiting displayed elements) should not come at the cost of hiding valid data.
- Suggested Improvement
Implement viewport-based data fetching:
- Query debugger engine only for visible rows (with small buffer)
- Load additional elements on scroll
- Maintain responsiveness without sacrificing visibility
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 1g 4h
- PR unite (30g)
- 58
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/vscode-cpptools
-
bug Language Service regression
microsoft/vscode-cpptools#14795 · 1 commento · 1 assegnatario ·
-
bug Language Service parser
microsoft/vscode-cpptools#14794 · 1 commento · 1 assegnatario ·
-
more info needed
microsoft/vscode-cpptools#14793 · 2 commenti · 1 assegnatario ·
-
more info needed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/vscode-cpptools#14787 · 1 commento · 1 assegnatario ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries Apertabug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 1 commento · 1 assegnatario ·
Tutte le issue di microsoft/vscode-cpptools
Issue simili
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Crush Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
ElementsProject/cln-application#167 · 1 commento · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Quantco/pnpm-licenses#17 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100