Commit 35304c19 by Amir Aharon

add tasks and fix debug settings

parent 4491b464
......@@ -35,7 +35,10 @@
"/usr/include/x86_64-linux-gnu",
"/usr/include",
"${workspaceRoot}/../3party",
"${workspaceRoot}/src"
"${workspaceRoot}/src",
"/usr/include/c++/5",
"/usr/include/x86_64-linux-gnu/c++/5",
"${workspaceRoot}/../3party/cereal/include"
],
"compileCommands": "./compile_commands.json",
"defines": [],
......@@ -50,7 +53,9 @@
"/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include",
"${workspaceRoot}"
"${workspaceRoot}/../3party",
"${workspaceRoot}/src",
"/usr/include/c++/5"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
......
......@@ -10,7 +10,7 @@
"preLaunchTask": "start-gdbserver",
"miDebuggerPath": "/usr/bin/gdb",
"targetArchitecture": "x64",
"program": "${workspaceRoot}/bin/test_Microservice",
"program": "${workspaceRoot}/build/bin/test_Microservice",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
......@@ -27,7 +27,7 @@
// "preLaunchTask": "start-gdbserver",
"miDebuggerPath": "/usr/bin/gdb",
"targetArchitecture": "x64",
"program": "${workspaceRoot}/bin/test_Microservice",
"program": "${workspaceRoot}/build/bin/test_Microservice",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
......
......@@ -32,20 +32,7 @@
"command": "docker exec -it devenv make",
"problemMatcher": [
"$gcc"
]
// "problemMatcher": {
// "severity": "error",
// "base": "$gcc",
// "fileLocation": ["relative","${workspaceRoot}"],
// "pattern": {
// "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
// "file": 1,
// "line": 2,
// "column": 3,
// "severity": 4,
// "message": 5
// }
// }
]
},
{
"label": "clean",
......@@ -59,7 +46,7 @@
"label": "start-gdbserver",
"type": "shell",
// not using -it so that it can be a preLaunchTask
"command": "docker exec -d devenv gdbserver :2000 bin/test_Microservice",
"command": "docker exec -d devenv gdbserver :2000 build/bin/test_Microservice",
"problemMatcher": []
},
{
......@@ -68,6 +55,21 @@
// not using -it so that it can be a preLaunchTask
"command": "docker build -t municipalitybank.com:5050/ipgallery.common.cpp/microservice/develop .",
"problemMatcher": []
},
{
"label": "run app",
"type": "shell",
// not using -it so that it can be a preLaunchTask
"command": "docker exec -d devenv build/bin/test_Microservice",
"problemMatcher": []
}
,
{
"label": "stop app",
"type": "shell",
// not using -it so that it can be a preLaunchTask
"command": "docker exec -d devenv pkill test_Micro",
"problemMatcher": []
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment