microsoft / microsoft/vscode-cpptools
Disassembly view fails to load when starting a debug session with pre-set instruction breakpoints
オープン
まだ誰も着手していません。
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:
- Start any debug session in Visual Studio Code.
- Open the disassembly view.
- Set instruction breakpoints in the code.
- Stop the debug session.
- Start the debug session again (while the instruction breakpoints are still set).
- Open the disassembly view.
- 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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