Closed zijianyue closed 10 months ago
I am sorry for taking such a long time to respond.
I don't believe that setupCommands is an valid option for codelldb but maybe :preRunCommands
https://github.com/search?q=repo%3Avadimcn%2Fcodelldb+setupCommands&type=issues
But after some quick googling "-enable-pretty-printing" is an gdb command and lldb-vscode does not use gdb.
Maybe you will have some luck with cpptools. I will find a base configuration for cpptools in the latest release on master
Yes, cpptools with gdb can work when setting "-enable-pretty-printing", but gdb is slower than lldb in my environment, so I'm trying to use lldb instead.
Then you have to figure out if there is any lldb command that does what "--enable-pretty-printing" does for gdb and consult the codelldb manual.
My config:
dape debug output:
But the std::vector is not displayed as expected, then please tell me how to config it.