microsoft / microsoft/vscode-cpptools
Breakpoints not hit when added during runtime with MinGW in VSCode
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem unter Windows 11 mit MinGW 11, GNU GDB 11.2 und einer Qt-GUI-Anwendung in VS Code zu reproduzieren. Vergleiche Breakpoints, die hinzugefügt werden, während das Programm läuft, mit denen, die hinzugefügt werden, während es angehalten ist, und überprüfe, dass zur Laufzeit hinzugefügte Breakpoints ausgelöst werden; im Issue werden keine Quelldateien oder Tests genannt, die untersucht werden sollen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- vscode
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 42/100