mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00

this fixes that the wrong order of allocating and PciCard destruction causes an undefined state. Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"name": "(gdb) Launch",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/src/villas-fpga-ctrl",
|
|
"args": [
|
|
"-c", "${workspaceFolder}/etc/fpgas.json", "--connect", "\"2<->stdout\""
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [
|
|
{
|
|
"name": "LD_LIBRARY_PATH",
|
|
"value": "/usr/local/lib64/"
|
|
}
|
|
],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "${workspaceFolder}/scripts/gdb_sudo.sh",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|