microsoft / microsoft/vscode-cpptools
Debugger shows only first element of dynamic array
オープン
まだ誰も着手していません。
debugger
Feature Request
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 14時間 46分
- マージ済み PR(30日)
- 61
説明
If I have a pointer to some type and give the pointer address of an array, is it possible to display all of the elements instead of the first one only?
For example:
Rectangle* baz = new Rectangle[2] { {2,5}, {3,6} };
displays

both via hovering over the baz variable and in VARIABLES->Locals section.
I think that issue #585 is different (I don't understand the problem of that issue).
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、VS Code C/C++ デバッガーで Rectangle* baz の例を再現し、ホバー表示と VARIABLES->Locals ビューを比較します。ポインター値と動的配列がどのように表示されるかを追跡します。完了条件は、両方のビューに先頭の要素だけでなく配列のすべての要素が表示されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100