1
0

Update debugger server address in launch and tasks configurations

This commit is contained in:
Jacques Supcik
2026-02-27 12:20:03 +00:00
parent 3967e73347
commit 2c06913abd
19 changed files with 257 additions and 256 deletions

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }

View File

@@ -1,32 +1,32 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "(gdb) Launch", "name": "(gdb) Launch",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/app", "program": "${workspaceFolder}/app",
"stopAtEntry": true, "stopAtEntry": true,
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"externalConsole": false, "externalConsole": false,
"MIMode": "gdb", "MIMode": "gdb",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
}, },
{ {
"name": "(gdb) debug Core Dumped", "name": "(gdb) debug Core Dumped",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/app", "program": "${workspaceFolder}/app",
"stopAtEntry": true, "stopAtEntry": true,
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"externalConsole": false, "externalConsole": false,
"MIMode": "gdb", "MIMode": "gdb",
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb",
"coreDumpPath": "${workspaceFolder}/core" "coreDumpPath": "${workspaceFolder}/core"
} }
] ]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -24,13 +24,13 @@
"ignoreFailures": true "ignoreFailures": true
} }
], ],
// "miDebuggerServerAddress": "192.168.0.14:1234", // "miDebuggerServerAddress": "192.168.53.14:1234",
// "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb", // "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb",
"pipeTransport": { "pipeTransport": {
// "pipeCwd": "/usr/bin", // "pipeCwd": "/usr/bin",
"pipeProgram": "/usr/bin/ssh", "pipeProgram": "/usr/bin/ssh",
"pipeArgs": [ "pipeArgs": [
"root@192.168.0.14" "root@192.168.53.14"
], ],
"debuggerPath": "/usr/bin/gdb" "debuggerPath": "/usr/bin/gdb"
// "debuggerPath": "stdbuf -i0 -o0 -e0 /usr/bin/gdb" // "debuggerPath": "stdbuf -i0 -o0 -e0 /usr/bin/gdb"

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app 2'"] "${workspaceFolder}/app 2'"
} ]
}
] ]
} }

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }

View File

@@ -1,21 +1,20 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
{ "name": "(gdb) Launch",
"name": "(gdb) Launch", "type": "cppdbg",
"type": "cppdbg", "request": "launch",
"request": "launch", "program": "${workspaceFolder}/app",
"program": "${workspaceFolder}/app", "stopAtEntry": true,
"stopAtEntry": true, "cwd": "${workspaceFolder}",
"cwd": "${workspaceFolder}", "externalConsole": false,
"externalConsole": false, "MIMode": "gdb",
"MIMode": "gdb", "miDebuggerServerAddress": "192.168.53.14:1234",
"miDebuggerServerAddress": "192.168.0.14:1234", "miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb"
"miDebuggerPath": "/buildroot/output/host/bin/aarch64-linux-gdb" }
} ]
]
} }

View File

@@ -3,12 +3,13 @@
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "gdbserver", "label": "gdbserver",
"type": "shell", "type": "shell",
"command": [ "command": [
"ssh -t root@192.168.0.14 '/usr/bin/gdbserver :1234", "ssh -t root@192.168.53.14 '/usr/bin/gdbserver :1234",
"${workspaceFolder}/app'"] "${workspaceFolder}/app'"
} ]
}
] ]
} }