microsoft / microsoft/vscode-cpptools

nested container not completely visible in debugger

オープン
#2,131 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

debugger
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

I have an issue with the following structure:
map<set, vector<pair<const Node*, bool>>>

Using the debugging console:
-exec print thisStructure
gives:
$5 = map with 2 elements = {
[set with 1 elements = {"PROD"}] = vector: sz=1, cap=1 = {{
first = 0x7f6f4a501800,
second = false
}},
[set with 1 elements = {"PROP"}] = vector: sz=1, cap=1 = {{
first = 0x7f6f4a4ff000,
second = false
}}
}

It seems like pretty printer is working fine. Unfortunately the output in VS Code is only this:
[{...}]: {...}
[0]
first: 0x7f6f4a501800
second: false

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

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

はじめの一歩

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

調査の方向性

VS Code デバッガーでネストされた map<set, vector<pair<const Node*, bool>>> を再現し、デバッグコンソールの出力と変数ビューを比較します。payload にはソースファイルもテストも記載されていません。完了条件は、両方の map 要素とその子を含む完全なネストされたコンテナがデバッガーに表示されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp, vscode
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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