How to enable pretty printing for C++ in Visual Studio Code? I've encountered the same issue My environments: Local Remote: Ubuntu 18 04 Desktop Server VSCode 1 60 + vscode_remote g++ with gdb 8 The setting -enable-pretty-printing is not working at all: The following solution works for me: check your gdb is supporting the 'pretty-print' which supplied by the python module of gdb: readelf -d $(which gdb) | grep python if nothing is listed
The option -enable-pretty-printing doesnt work for remote . . . Hi, I don't know if the problem is in your extension or somewhere between gdb and gdbserver I see that your extension does provide an option to enable pretty-printers also for the configuration with gdbserver, so I assumed that gdb <-> gdbserver should support it
Unable to get pretty printing to work Windows 10 GDB C++ Unable to get pretty printing to work Windows 10 GDB C++ Hello, I'm trying to figure out why "pretty printing" isn't working for the variables I'm watching while debugging I've checked out many Stack Overflow posts, Github forums, and random places, but I still can't figure it out This is what I see in my Watch pane while debugging:
Set `-enable-pretty-printing` and `-gdb-set disassembly . . . Feature Request It seems by default gdb enables pretty printing if launched from command line But for some reason -enable-pretty-printing has to be set explicitly in launch json for vscode