From 2747021c15e5ef7a63e18653df1390aa4845d219 Mon Sep 17 00:00:00 2001 From: Brandon Lai-Cheong <brandon.lai-cheong@uwaterloo.ca> Date: Wed, 4 Dec 2024 14:50:48 -0500 Subject: [PATCH] added configuration for vscode testing --- .gitignore | 1 - .vscode/launch.json | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 316af62..c482bee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ build .vscode/c_cpp_properties.json -.vscode/launch.json .vscode/settings.json \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..ca6e459 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,32 @@ +{ + // 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": "(ctest) Launch", + "type": "cppdbg", + "request": "launch", + "program": "${cmake.testProgram}", + "args": ["${cmake.testArgs}"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "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 + } + ] + } + ] +} \ No newline at end of file -- GitLab