From 57cc3f62fc4c88d2bf8c1f949c20940c4b1c350a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind?= Date: Fri, 22 Apr 2022 18:39:58 +0200 Subject: [PATCH] added debug launcher --- exercises/06/.vscode/launch.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 exercises/06/.vscode/launch.json diff --git a/exercises/06/.vscode/launch.json b/exercises/06/.vscode/launch.json new file mode 100644 index 0000000..26f1dcf --- /dev/null +++ b/exercises/06/.vscode/launch.json @@ -0,0 +1,28 @@ +{ + // 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": [ + { + // for Linux + "name": "(gdb) Launch euclid codegen 2", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceRoot}/vslc/src/vslc", + "args": ["<", "${workspaceFolder}/vslc/vsl_programs/ps6-codegen2/euclid.vsl"], + "stopAtEntry": false, + "cwd": "${workspaceRoot}", + "environment": [], + "externalConsole": true, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file