2019-12-05 22:45:41 +01:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2020-03-01 21:07:08 +01:00
|
|
|
{
|
|
|
|
"name": "debug example",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/output/example/example",
|
2021-01-22 23:13:20 +01:00
|
|
|
"args": ["/dev/pts/2"],
|
2020-03-01 21:07:08 +01:00
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"preLaunchTask": "make example",
|
|
|
|
"miDebuggerPath": "/usr/bin/gdb"
|
|
|
|
},
|
2019-12-05 22:45:41 +01:00
|
|
|
{
|
|
|
|
"name": "debug unittest",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/output/test/unittest/unittest",
|
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"preLaunchTask": "make test",
|
|
|
|
"miDebuggerPath": "/usr/bin/gdb"
|
2020-03-01 18:45:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "debug integrationtest",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/output/test/integrationtest/integrationtest",
|
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"preLaunchTask": "make integrationtest",
|
|
|
|
"miDebuggerPath": "/usr/bin/gdb"
|
2019-12-05 22:45:41 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|