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"
        }
    ]
} 
相关推荐
UpYoung!15 小时前
无广技术贴!【PDF编辑器】Solid Converter PDF保姆级图文下载安装指南——实用推荐之PDF编辑软件
学习·数学建模·pdf·编辑器·运维开发·个人开发
东方佑15 小时前
基于浏览器的DOCX文件编辑器:实现导入、编辑与导出功能
编辑器
scorpion_V17 小时前
VScode 中执行 npm 报错的问题
ide·vscode·npm
UpYoung!17 小时前
【MD编辑器】实用工具推荐之轻量级 Markdown 编辑器Typora下载安装图文教程
编辑器·办公软件·typora·md编辑器·markdown 编辑器
Bellafu66617 小时前
下载selenium-ide及使用
ide·selenium·测试工具
就叫飞六吧20 小时前
idea正则匹配搜索
ide
oioihoii1 天前
如何设置 Visual Studio 在调试停止时自动关闭控制台
ide·visual studio
曹申阳1 天前
1. 使用VSCode开发uni-app环境搭建
ide·vscode·uni-app
大江东去浪淘尽千古风流人物1 天前
【Wins】Visual Studio memory leak check使用教程
ide·visual studio
每天更新1 天前
VSCODE 使用GDB
ide·vscode·编辑器