microsoft / microsoft/vscode-cpptools

Show the process ID in the call stack on Windows

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

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

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

説明

Not sure if the same process ID is applicable to Linux/Mac -- I could check, but I mostly want it for Windows.

I originally filed this on VS Code, but they said: "showing the process ID in the CALL STACK view as part of the session label or thread label is the recommended way (since there is no other place where to show it and since VS Code knows nothing about processes).".

It's available when debugging with Visual Studio 2022.

When I initially use the C/C++ debugger to attach to a process, it shows the process ID in the dropdown, but then I can't remember it and then I need to check later on which process ID I'm attached to and it doesn't show me in the UI (e.g. there are 3 such processes running and I want to make sure I'm attached to the one using 100% CPU and not one of the other 2).

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

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

はじめの一歩

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

調査の方向性

この issue にはファイル、テスト、エントリーポイントが記載されていません。まず extension 内の Windows attach と call-stack/session-label の処理を特定し、次に既存のプロセス選択がどのように表現されているかを確認してください。関連する Call Stack UI にアタッチされたプロセスの ID が表示され、その動作が適切なテストでカバーされていれば完了です。

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

評価

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

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

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