Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lotharyx opened this issue Feb 16, 2023 · 1 comment
Open

Comments

@Lotharyx
Copy link

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
Copy link
Contributor

xuming commented Mar 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants