cd 0ad/build/workspaces
./update-workspaces.sh -j3
cd gcc
make config=debug
binaries/system/pyrogenesis_dbg
{
"name": "debug 0ad",
"type": "cppdbg",
"request": "launch",
"program": "/opt/src/0ad/binaries/system/pyrogenesis_dbg",
"args": [],
"stopAtEntry": false,
"cwd": "/opt/src/0ad/binaries/system/",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Add pretty impression to gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"miDebuggerPath": "/usr/bin/gdb"
}