From 1f4d5754659521dddffc7085b6de49bd669c1691 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Sun, 26 Nov 2023 18:55:16 -0600 Subject: [PATCH] dev(vscode): add CodeLLDB launchers --- .vscode/launch.json | 95 +++++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 4 +- 2 files changed, 98 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 1dfbd742b..7b2d9688a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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"] } ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index e88cbd9d4..e6e898017 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -99,7 +99,9 @@ "codecvt": "cpp", "numbers": "cpp", "span": "cpp", - "semaphore": "cpp" + "semaphore": "cpp", + "__verbose_abort": "cpp", + "charconv": "cpp" }, "files.exclude": { "**/.dep": true,