microsoft / microsoft/vscode-cpptools
Empty window opens with internalConsole during debug
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
Bug type: Debugger
Describe the bug
- OS and Version: Windows 10 20H2
- VS Code Version: 1.56.2
- C/C++ Extension Version: 1.4.0-insiders
After setting the launch.json as the following, an external window is opened at debug. All output appears in the debug console, but an empty console window is there.
"version": "0.2.0",
"configurations": [
{
"name": "Debug (win)",
"type": "cppvsdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [ ],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart"
}
I looked up the documentation for the launch.json, but there is no mention of "console" option, only the old "externalConsole" option is there, which is deprecated.
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
Reproduziere das Problem mit der gezeigten launch.json-Konfiguration mit cppvsdbg, console auf internalConsole gesetzt und internalConsoleOptions auf openOnSessionStart gesetzt. Verfolge, wie diese Optionen während des Starts einer Debugsitzung verarbeitet werden, und überprüfe, dass sich kein leeres externes Konsolenfenster öffnet, während die Ausgabe in der Debugkonsole verbleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cmake, cpp, typescript, vscode
- Bereich
- devtools, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100