microsoft / microsoft/vscode-cpptools

Breakpoints not hit when added during runtime with MinGW in VSCode

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

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

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

説明

Environment
  • OS and version: windows 11
  • VS Code:
  • C/C++ extension:
  • OS and version of remote machine (if applicable):
  • GDB / LLDB version: GNU gdb (GDB) 11.2
Bug Summary and Steps to Reproduce

Bug Summary:

When I run a GUI program (for example, a Qt application) in VSCode, if I add breakpoints during execution, they cannot be hit. However, in Qt Creator, the breakpoints can be hit under the same conditions. Both in Qt Creator and VSCode I am using the same MinGW 11 toolchain. I have tested across multiple environments and this problem consistently occurs.

Debugger Configurations
/
Debugger Logs
/
Other Extensions

/

Additional Information

The condition is that the breakpoints are added while the program is running, not when the program is paused.

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

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

はじめの一歩

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

調査の方向性

まず、Windows 11 上で MinGW 11、GNU GDB 11.2、および VS Code 上の Qt GUI アプリケーションを使って問題を再現します。プログラムの実行中に追加したブレークポイントと、プログラムを一時停止している間に追加したブレークポイントを比較し、実行時に追加したブレークポイントがヒットすることを確認します。この issue では、調査対象のソースファイルやテストは指定されていません。

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

評価

技術スタック
vscode
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
42/100

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

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