summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-12 17:57:25 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:14 +0200
commitdbe60c0125a1b8b7c967049a699930ca893c3271 (patch)
treea797ab6849521ea6b41f79a4b41c8e3311ef2fde /.vscode
parent2eab98674426d4287b9a9f4d34ab7b5ced5cfdc9 (diff)
Improve vscode workspace settings
2 debug mode: - One first run which clean any trace of timestamp record on disk - the other which keep timestamp file Cleaning Change-Id: I80f1d8e4ad574c14b3312da0e8691c49ed17e9fb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json31
-rw-r--r--.vscode/settings.json6
-rw-r--r--.vscode/tasks.json12
3 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"
+ }
+ ]
+}