coolchyni / beyond-debug

Other
20 stars 5 forks source link

Nothing happens on launch for remote gdb (endless blue crawler) #9

Open Lotharyx opened 1 year ago

Lotharyx commented 1 year ago

I have gdbserver running on a remote host. Here is my beyond-debug launch.json section:

{
    "type": "by-gdb",
    "request": "launch",
    "name": "Launch(remote)",
    "program": "./controller_debug",
    "cwd": "${workspaceRoot}",
    "remote": {
        "enabled": true,
        "address": "P025:3333",
        "mode": "extended-remote",
        "execfile": "./controller_debug"
    }
}

When I click the green arrow, a little blue bar starts crawling across underneath the "RUN AND DEBUG" area, and then nothing happens. No messages appear on the remote host about any client connections.

Does beyond-debug include a gdb executable? How does it know where to find the one I installed, since I installed it to a non-default (much shorter) path? For reference, WebFreak's code-debug has an option to specify the path to the local gdb program.

xuming commented 1 year ago

beyond-debug didn't include any gdb executable. You can set gdb path with argument 'debuggerPath' .