VS CODE gdb

Posted sinferwu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了VS CODE gdb相关的知识,希望对你有一定的参考价值。

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/u-boot",
            "args": [],
            "stopAtEntry": true,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "targetArchitecture": "arm",
            "miDebuggerPath":"/usr/bin/gdb-multiarch",
            "miDebuggerServerAddress": "localhost:2333",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ]
        }
    ]
}

 



-exec add-symbol-file u-boot 0x7ff7f000



[answered Y; input not from terminal]


-exec set confirm off


以上是关于VS CODE gdb的主要内容,如果未能解决你的问题,请参考以下文章

vs code 用户代码片段 html.json

VS Code配置markdown代码片段

VS Code配置markdown代码片段

VS Code中自定义Emmet代码片段

VS CODE gdb

使用Windows 10和MINGW编译器在VS Code上使用gdb调试器调试时出错