dev(vscode): add CodeLLDB launchers

This commit is contained in:
Aleksandar Fabijanic 2023-11-26 18:55:16 -06:00
parent af69d61ff5
commit 1f4d575465
2 changed files with 98 additions and 1 deletions

95
.vscode/launch.json vendored
View File

@ -256,6 +256,101 @@
"ignoreFailures": true
}
]
},
/********************************************************************************************************************************
* Following configurations are multiplatform; lldb and CodeLLDB required: *
* https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb *
* *
* OSX SIP notes: *
* 1. DYLD_LIBRARY_PATH is not passed to VSCode (even when launched from terminal having it properly set) *
* 2. the consequence is that the POCO libraries can only be found if they (or links to them) are in the system library path *
* 3. binaries or symbolic links can not be placed in `/usr/lib`, only in `/usr/local/lib` *
* 4. SIP can be disabled (not recommended) *
* https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection *
********************************************************************************************************************************/
{
"name": "CodeLLDB Foundation Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Foundation/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Net Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Net/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB JSON Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/JSON/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB XML Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/XML/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Util Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Util/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Data Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Data/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Data/SQLite Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Data/SQLite/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Data/ODBC Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Data/ODBC/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Data/MySQL Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Data/MySQL/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Data/PostgreSQL Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Data/PostgreSQL/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB MongoDB Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/MongoDB/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
},
{
"name": "CodeLLDB Redis Test",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/Redis/testsuite/bin/${env:OSNAME}/${env:OSARCH}/testrunnerd",
"args": ["-all"]
}
]
}

View File

@ -99,7 +99,9 @@
"codecvt": "cpp",
"numbers": "cpp",
"span": "cpp",
"semaphore": "cpp"
"semaphore": "cpp",
"__verbose_abort": "cpp",
"charconv": "cpp"
},
"files.exclude": {
"**/.dep": true,