Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

vectors and arrays are truncated in debug view.

オープン
#14,374 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@sean-mcmanus がすでに取り組んでいます。

2026年4月14日 から。

評価

この issue はまだ評価されていません。

説明

bug debugger more info needed
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
Image Problem Summary

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
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
1日 4時間
マージ済み PR(30日)
58

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/vscode-cpptools のほかの issue

microsoft/vscode-cpptools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。