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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

View File

@@ -7,8 +7,9 @@
"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

@@ -13,7 +13,7 @@
"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"
}, },
{ {

View File

@@ -7,8 +7,9 @@
"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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

View File

@@ -7,8 +7,9 @@
"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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

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

@@ -7,8 +7,9 @@
"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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

View File

@@ -7,8 +7,9 @@
"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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

View File

@@ -7,8 +7,9 @@
"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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

View File

@@ -7,8 +7,9 @@
"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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

View File

@@ -7,8 +7,9 @@
"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

@@ -4,7 +4,6 @@
// 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",
@@ -14,7 +13,7 @@
"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"
} }
] ]

View File

@@ -7,8 +7,9 @@
"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'"
]
} }
] ]
} }