]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add multi-thread gdb VS code target
authorNick Porter <nick@portercomputing.co.uk>
Tue, 11 Nov 2025 14:41:51 +0000 (14:41 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 13 Nov 2025 08:32:41 +0000 (08:32 +0000)
.vscode/launch.json

index 16ab1dd9ce1cec8cc983ad668d3e598ed968ebc4..13b1d451355f82100dd99157d1dc403774ecb71b 100644 (file)
                                 }
                         ]
                 },
+                {
+                        "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",