microsoft / microsoft/vscode-cpptools

[Feature Request] Fully support target-async on

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

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

debugger Feature Request
主要言語
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.

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

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

はじめの一歩

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

調査の方向性

MICore/CommandFactories/gdb.cs、特に AllowCommandsWhileRunning() から始め、-gdb-set target-async on 周辺のセッション開始コマンドを追跡してください。-list-target-features の応答がどのように処理されるか、また実行中のコマンドの許可がどのように決定されるかを確認してください。対応している非同期ターゲットが認識され、プロセスが実行中であることだけを理由にコマンドが失敗しなくなれば完了です。

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

評価

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

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

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