microsoft / microsoft/vscode-cpptools

`Show source code in disassembly view` not work

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

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

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

説明

Bug type: Debugger & Disassembly

Describe the bug

  • OS and Version: Linux (Ubuntu 20LTS)
  • VS Code Version: 1.63.0
  • C/C++ Extension Version: v1.7.1
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

To Reproduce
Please include a code sample and launch.json configuration.
launch.json: the generated default.
code sample: just c++ hello world.

Steps to reproduce the behavior:

  1. Check the Settings - Features - Debug - [Disassembly View: Show source code], make sure it's TRUE;
  2. In the editor, write any good c++ code, then press F5 to start a normal debug, and pause at some breakpoint.
  3. Right click inside the code area, select Open Disassembly View to launch the disassembly view.
  4. As it shows, there's only assembly code. The c++ source code is NOT inlined within the assembly code.

Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.json
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.

What I want is: c++ source code can be inlined within the disassembly code together, just like the visual studio behaves:

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

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

はじめの一歩

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

調査の方向性

Ubuntu 上で VS Code 1.63.0、C/C++ 拡張機能 v1.7.1、生成された launch.json を使用し、「Disassembly View: Show source code」設定を有効にして問題を再現してください。C++ の hello-world プログラムをブレークポイントで一時停止し、逆アセンブリ ビューを開きます。説明どおりに C++ ソースがアセンブリとインラインで表示されれば完了です。

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

評価

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

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

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