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"
        }
    ]
} 
相关推荐
小O_好好学1 小时前
vi | vim基本使用
linux·编辑器·vim
cliffordl2 小时前
vscode 环境搭建
ide·vscode·编辑器
JANGHIGH2 小时前
VSCode引用Eigen库无法识别问题解决
ide·vscode·编辑器
我就是全世界3 小时前
开源集成开发环境搭建之VSCode启动Jupyter Notebook
ide·vscode·jupyter
科研小白_d.s14 小时前
vscode配置c/c++环境
c语言·c++·vscode
程序猿进阶21 小时前
如何在 Visual Studio Code 中反编译具有正确行号的 Java 类?
java·ide·vscode·算法·面试·职场和发展·架构
猿饵块21 小时前
vscode
ide·vscode·编辑器
(⊙o⊙)~哦1 天前
vim的 配置文件
linux·编辑器·vim
大数据界Olu1 天前
bug | pycharm社区版无sciview解决办法
ide·python·pycharm