diff options
-rw-r--r-- | .vscode/launch.json | 31 | ||||
-rw-r--r-- | .vscode/settings.json | 6 | ||||
-rw-r--r-- | .vscode/tasks.json | 12 | ||||
m--------- | afb-utilities | 0 |
4 files changed, 47 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 96e8c85..5dbce66 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,9 +5,10 @@ "version": "0.2.0", "configurations": [ { - "name": "(gdb) Launch", + "name": "First_run", "type": "cppdbg", "request": "launch", + "preLaunchTask": "first_run", "program": "/opt/AGL/bin/afb-daemon", "args": [ "--rootdir=${workspaceRoot}/build/package/", "--workdir=${workspaceRoot}/build/package/", @@ -31,6 +32,34 @@ "ignoreFailures": true } ] + }, + { + "name": "Resuming_run", + "type": "cppdbg", + "request": "launch", + "program": "/opt/bin/afb-daemon", + "args": [ "--rootdir=${workspaceRoot}/build/package/", + "--workdir=${workspaceRoot}/build/package/", + "--ldpaths=lib", + "--roothttp=.", + "--tracereq=common", + "--token=1", + "--verbose", + "--verbose", + "--verbose"], + "additionalSOLibSearchPath": "${workspaceRoot}/build/package/lib", + "stopAtEntry": false, + "cwd": "${workspaceRoot}/build/package", + "environment": [], + "externalConsole": true, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] } ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 3584ed2..844d362 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,7 +9,11 @@ "string_view": "c", "utility": "c", "valarray": "c", - "string.h": "c" + "string.h": "c", + "stdio.h": "c", + "ratio": "c", + "system_error": "c", + "type_traits": "c" }, "C_Cpp.intelliSenseEngineFallback": "Disabled", "C_Cpp.errorSquiggles": "Disabled" diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..9b4e080 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,12 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "first_run", + "type": "shell", + "command": "rm -f ${workspaceFolder}/build/package/last_db_read" + } + ] +} diff --git a/afb-utilities b/afb-utilities deleted file mode 160000 -Subproject a1b4fed441b09a6cc721cc032556ffb5b355da7 |