-
Notifications
You must be signed in to change notification settings - Fork 182
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
Error: spawn gdb ENOENT #549
Comments
Sounds like you havent installed gdb |
Actually I have. I even installed lldb and tried with the lldb run configuration, but I still get the same error |
I tried this again, and it now seems to work. |
It's back. It might be related to suspending |
most likely you are starting emacs with different PATH. |
Had this lately when working with dap-mode with dap-gdb-lldb. The issue there was that cwd contained tilde characters to mark the home folder (e.g, ~/myworkspace/myproject). The server did not seem to like tilde characters much on my Mac, and wanted absolute paths. Just mentioning in case someone else gets this issue, and have already checked their PATH 🙂 Got exactly the same error message btw, just with arm-none-eabi-gdb instead. EDIT: Seems like the server/adapter I used have an issue on this issue that I found just now. Linking for future reference in case it is relevant here 🙂 WebFreak001/code-debug#287 |
Hey there,
I'm getting an error trying to debug my C++ binary:
Sadly I wasn't able to find any info about this whatsoever and that's why I am asking here.
Do I need a custom run configuration?
Is there anything else I need to set?
Thanks!
The text was updated successfully, but these errors were encountered: