microsoft / microsoft/vscode-cpptools
[Feature Request] Fully support target-async on
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 14時間 46分
- マージ済み PR(30日)
- 61
説明
When the session starts it sends:
-gdb-set target-async on
This is intended to enable asynchronuos commands, see https://sourceware.org/gdb/onlinedocs/gdb/Asynchronous-and-non_002dstop-modes.html
Whether the debugger actually supports it can then be checked using -list-target-features which will respond with something like:
^done,target-features=["async"]
If "async" appears in the target-features list, the debugger supports asynchronuos commands.
However, it never asks to see the supported target-features and starting the debugger and trying to issue commands results in:
Unable to perform this action because the process is running.
Looking in MICore/CommandFactories/gdb.cs in AllowCommandsWhileRunning(), and from what I can see there, it just says false.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
MICore/CommandFactories/gdb.cs、特に AllowCommandsWhileRunning() から始め、-gdb-set target-async on 周辺のセッション開始コマンドを追跡してください。-list-target-features の応答がどのように処理されるか、また実行中のコマンドの許可がどのように決定されるかを確認してください。対応している非同期ターゲットが認識され、プロセスが実行中であることだけを理由にコマンドが失敗しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100