microsoft / microsoft/vscode-cpptools
How to view nested STL container in debugger - C++
@WardenGnaw ci sta già lavorando.
Dal 16/4/2018.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
vscode cannot display nested STL container in the debugger.
For example,say we have
typedef set A
typedef list G
map<int, G > D;
IN the debugger, the only data I can inspect is A. G and D both would show stuff like:
std::__cxx11::_List_base<std::set<int, std::less, std::allocator >, std::allocator<std::set<int, std::less, std::allocator > > >
I have
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
enabled.
If this intended, then how do we debug a complex data structure?
Advice is appreciated.
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.
Valutazione
Questa issue non è ancora stata valutata.