From: Nick Porter Date: Tue, 11 Nov 2025 14:41:51 +0000 (+0000) Subject: Add multi-thread gdb VS code target X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a18a1a57a080e65efb283ae848ef7c2f0a8920;p=thirdparty%2Ffreeradius-server.git Add multi-thread gdb VS code target --- diff --git a/.vscode/launch.json b/.vscode/launch.json index 16ab1dd9ce1..13b1d451355 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -47,6 +47,32 @@ } ] }, + { + "type": "cppdbg", + "request": "launch", + "name": "Debug (gdb) multi-thread", + "program": "${workspaceFolder}/build/bin/local/radiusd", + "args": [ + "-fxxl", + "stdout", + "-D", + "${workspaceFolder}/share/dictionary", + "-d", + "${input:raddb}" + ], + "cwd": "${workspaceFolder}", + "environment": [ + { "name": "FR_LIBRARY_PATH", "value": "${workspaceFolder}/build/lib/local/.libs" }, + { "name": "DEBUGGER_ATTACHED", "value": "yes" } + ], + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Set solib", + "text": "set solib-search-path ${workspaceFolder}" + } + ] + }, { "type": "cppdbg", "request": "launch",