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"
        }
    ]
} 
相关推荐
诗意地回家1 小时前
niuhe.conf 配置文件说明
vscode·go
摇滚侠1 小时前
VsCode 自带的 Git 使用教程
ide·git·vscode
zyplayer-doc2 小时前
重写OFD查看器,完善PDF查看器,增加搜索历史记录、滚动分页、目录排序等,zyplayer-doc 2.5.7 发布啦!
pdf·编辑器·飞书·开源软件·创业创新·有道云笔记
5***79002 小时前
JavaWeb开发
ide·zookeeper·线性回归
灰色人生qwer4 小时前
idea teminal和 window cmd 输出java version不一致
java·ide·intellij-idea
Naiva4 小时前
【小技巧】在 MPLAB X IDE 里MPLAB PICkit Basic烧录程序报错
ide
咯哦哦哦哦4 小时前
linux patchelf工具 用法
linux·vscode·编辑器·gcc
Molesidy5 小时前
【VSCode】使用 VSCode + EIDE插件 的开发STM32的超详细教程
ide·vscode·stm32·编辑器·eide
bank_dreamer6 小时前
VSCODE前端代码风格格式化
前端·css·vscode·html·js·prettier·代码格式化