From dbe60c0125a1b8b7c967049a699930ca893c3271 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 12 Apr 2018 17:57:25 +0200 Subject: 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 --- .vscode/launch.json | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to '.vscode/launch.json') 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 + } + ] } ] } -- cgit 1.2.3-korg