From 741051f8a6f01b77c9cbd0b0ce1c3e62ce40466d Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Fri, 9 Apr 2021 01:53:06 +0000 Subject: [PATCH] chore: Add preemption to debug launch JSON --- .vscode/launch.json | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index b0d9dc7..cc566d0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,11 +5,35 @@ "version": "0.2.0", "configurations": [ { - "name": "(gdb) Launch", + "name": "Hyde", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/runtime/bin/sledgert", - "args": ["${workspaceFolder}/runtime/experiments/applications/ocr/hyde/spec.json"], + "args": [ + "${workspaceFolder}/runtime/experiments/applications/ocr/hyde/spec.json" + ], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "envFile": "${workspaceFolder}/.env", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + }, + { + "name": "Preemption", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/runtime/bin/sledgert", + "args": [ + "${workspaceFolder}/runtime/experiments/preemption/spec.json" + ], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [],