microsoft / microsoft/vscode-cpptools
Show some better UI hint that a compiler is not available from the dropdown of Debug C/C++ file due to a debugger being missing
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
Via the Debug C/C++ file button I see cl.exe and LLVM clang, but not mingw g++. I see it being added as a known compiler in the TypeScript debugger, but then something is causing it to not get used when it seems like it should be.
UPDATE: I didn't notice the logging logger.getOutputChannelLogger().appendLine(localize('debugger.path.not.exists', "Unable to find the {0} debugger. The debug configuration for {1} is ignored.", "${debuggerName}", compilerName)); -- maybe an "info/hint" entry could be added to the quick pick showing that g++ is potentially available if the user were to install the missing gdb.
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 beim Debug C/C++ file quick pick und verfolge die TypeScript-Debugger-Behandlung rund um die erwähnte logger message debugger.path.not.exists. Definiere den Hinweis, der angezeigt wird, wenn einem bekannten Compiler wie mingw g++ gdb fehlt, und überprüfe, dass das Dropdown erklärt, warum der Compiler nicht verfügbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, typescript
- Bereich
- developer-experience, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100