microsoft / microsoft/vscode-cpptools

Disassembly view fails to load when starting a debug session with pre-set instruction breakpoints

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

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

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

説明

Environment
  • OS and version: Windows 10
  • VS Code: 1.98
  • C/C++ extension: 1.23.6
  • OS and version of remote machine (if applicable):
  • GDB / LLDB version: GDB 11.1
Bug Summary and Steps to Reproduce

Bug Summary:

When initiating a debug session in Visual Studio Code with pre-set instruction breakpoints, the disassembly view does not load as expected. the disassembly view has a "disassembly not available" in the window.

Steps to reproduce:

  1. Start any debug session in Visual Studio Code.
  2. Open the disassembly view.
  3. Set instruction breakpoints in the code.
  4. Stop the debug session.
  5. Start the debug session again (while the instruction breakpoints are still set).
  6. Open the disassembly view.
  7. Observe that the disassembly view will not load correctly and will display a "disassembly view not available"
    message.
Debugger Configurations
you can try any debug configuration
Debugger Logs
I don't have the logs, but if you try to reproduce you will see that when trying to start a debug session with a pre-set instruction breakpoint, you will get a disassembly request of size 1 which I assume is what cause the bug.
Other Extensions

No response

Additional Information

No response

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

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

はじめの一歩

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

調査の方向性

C/C++ 拡張機能、GDB 11.1、任意のデバッグ構成、およびあらかじめ設定した命令ブレークポイントを使用して、VS Code 1.98 で問題を再現してください。2 回目のセッション中の逆アセンブル要求、特に報告されたサイズ 1 の要求を比較し、”disassembly not available” と表示される代わりに逆アセンブルビューが読み込まれることを確認してください。

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

評価

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

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

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