microsoft / microsoft/vscode-cpptools
ERROR: During startup program exited with code 0xc0000135.
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
Lately, I've been using VSCode to run and debug my C++ code, but when I try to debug vectors, maps, and list types, I can't see all the items. I noticed that I could configure it to be able to view them. So, I created a launch.json file to do that, but the Debug Console is displaying this message block [obvious censorship]:
=thread-group-added,id="i1"
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
=cmd-param-changed,param="pagination",value="off"
=cmd-param-changed,param="args",value="/Users/alan/dev/ginga/ginga/examples/primeiro-joao/00syncProp.ncl"
[New Thread 28496.0x58f4]
[New Thread 28496.0x22b8]
[New Thread 28496.0x4f98]
[New Thread 28496.0x1c08]
ERROR: During startup program exited with code 0xc0000135.
The program path\program.exe' has exited with code 0 (0x00000000).
launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "cppdbg",
"request": "launch",
// Resolved by CMake Tools:
"program": "${command:cmake.launchTargetPath}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build",
"environment": [
{
// add the directory where our target was built to the PATHs
// it gets resolved by CMake Tools:
"name": "PATH",
"value": "$PATH:${command:cmake.launchTargetDirectory}"
}
],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
I've been searching, but I couldn't find the answer I was looking for. I wanted to help.
Screenshot of my Debug without the launch.json:
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla configurazione launch.json segnalata e riproduci la sessione di debug C++ in VS Code, concentrandoti sull’output di avvio di GDB e sulla voce dell’ambiente PATH. Confronta il comportamento con e senza launch.json; il lavoro è completato quando sono state identificate e documentate le cause dell’uscita all’avvio 0xc0000135 oppure è stata confermata la modifica di configurazione necessaria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, vscode
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100