Open
Description
The extension is unable to start a debugging session on Ubuntu 23.04. When launching the session, an error window pops up in bottom-right corner of VS Code, reading that /bin/bash
failed to launch. The following error message then appears in the Output Window:
[error] [Extension Host] stderr: agent-proxy: žádný proces nenalezen
(In English: no process found)
I have tried launching the debugging session without and with agent-proxy
downloaded from Linux kernel website and linked to ${workspaceFolder}/agent-proxy
with a symbolic link with the same result. I am using the latest version of this extension, but behaviour of the experimental version is the same.
Configuration from launch.json
:
{
"name": "KGDB: remote kernel debugging (serial console)",
"type": "cppdbg", // required for GDB and LLDB
"request": "launch", // attach to running Linux kernel
"program": "${workspaceFolder}/rpm/${input:targetPlatform}/BUILD/linux/vmlinux",
"preLaunchTask": "${command:embeddedLinuxDev.breakKernel}",
"cwd": "${workspaceFolder}",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Set path to source files",
"text": "set dir ${workspaceFolder}/linux",
"ignoreFailures": false
},
{
"description": "Connect to target machine.",
"text": "target remote localhost:${config:kerneldev.serial_port}",
"ignoreFailures": false
}
],
"miDebuggerPath": "gdb-multiarch"
}