VS Code中容器(vector,set...)类型查看问题。

在launch.json文件中添加如下内容:

            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ]

注意时添加在特性"configurations"中。

猜你喜欢

转载自blog.csdn.net/m0_37518259/article/details/89359672