rk3588使用vscode远程debug 配置文件

进入调试口,需要本地和远程都装C/C++ estension

下面是在调mpi_enc_test的launch.json

文件自己make生成的 makefile 没改过

args项是输入参数,配置了相机输入,具体参数看他的demo说明,

记录一下,方便以后拷贝方便

json 复制代码
{
    // 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) 启动",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/test/mpi_enc_test",
            "args": [ "-i", "/dev/video0", "-f", "8", "-w", "1280", "-h", "720", "-o", "o1.h264", "-t", "7", "-n", "120"],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "为 gdb 启用整齐打印",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "将反汇编风格设置为 Intel",
                    "text": "-gdb-set disassembly-flavor intel",
                    "ignoreFailures": true
                }
            ],
            // "preLaunchTask":"Build",
            "miDebuggerPath": "/usr/local/bin/gdb"
        }
    ]
} 
相关推荐
金融小师妹7 分钟前
基于LSTM趋势预测的白银价格突破58美元阈值,年度累计涨幅超100%的强化学习驱动分析
大数据·人工智能·编辑器·1024程序员节
UVM_ERROR4 小时前
硅农VSCode 插件推荐
vscode·centos·ssh
BD_Marathon5 小时前
【IDEA】IDEA的详细设置
java·ide·intellij-idea
x***44015 小时前
vscode配置django环境并创建django项目(全图文操作)
vscode·django·sqlite
帮帮志6 小时前
Jupyter使用的快捷键大全
ide·python·jupyter
qq_463944866 小时前
Jupyter中输入标题的方法
ide·python·jupyter
Xiaok10186 小时前
VSCode 报错 “No module named ‘torch‘“
ide·vscode·编辑器
橙子味de巧克力4496 小时前
【DataGrip】JetBrains 专业数据库 IDE!全流程管理 + 永久补丁(详细安装指南)
ide·windows
虚幻如影7 小时前
PyCharm 中离开项目卡住在退出界面
ide·python·pycharm
阿桂有点桂7 小时前
Flutter使用VS Code打包app
vscode·flutter·安卓