From ba54b5ff19e22c6e7fadfca5980301ca3f371512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20L=C3=BCke?= Date: Wed, 25 Dec 2024 18:28:28 +0100 Subject: [PATCH] add .vscode/ --- .gitignore | 1 - .vscode/launch.json | 59 +++++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 6 +++++ 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index ab8c0da..825f7e8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,5 @@ CMakeLists.txt.user* compile_commands.json **/*.swo **/*.swp -.vscode/ .venv *.pyc diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..107c629 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,59 @@ +{ + // 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": "mana_auto_replay", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/mana_auto_replay", + "args": ["~/Documents/is690-9Li_3H_run094_241020_124254_part001.zip"], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + }, + { + "name": "(gdb) mvlc-mini-daq", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/mvlc-mini-daq", + "args": [ + "--no-listfile", + "~/Documents/mvme-workspaces/dev-workspace/mtdc_001.yaml" + ], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/build", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d44f462 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "python.analysis.extraPaths": [ + "./build" + ], + "editor.formatOnSave": true +}