-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Getting "Source not available, cannot jump to frame" when using C with lldb-dap on Mac M1 #1199
Comments
The stacktraces reported by the debug adapter have no sources:
Not much the client can do about that. |
@mfussenegger sorry about that, my mistake. Here's small repo for you to use: https://github.com/benjitrosch/c-dap-example/tree/main |
The example works fine for me - tested with all 3: lldb-vscode (version 17.0.6) , codelldb and gdb.
|
Thanks for trying it out. Really weird that it's not working for me. I'm using Not sure what other info I could provide, please LMK. |
Debug adapter definition and debug configuration
Debug adapter version
0.7.0
Steps to Reproduce
-g
):cmake -B build -DCMAKE_BUILD_TYPE=Debug
followed bycmake --build build
:lua require'dap'.toggle_breakpoint()
:lua require'dap'.continue()
stopOnEntry
) and message "Source not available, cannot jump to frame" appearsExpected Result
The executable should pause at breakpoint.
I've verified that debug symbols are being created, and additionally this works when I've manually tested outside of neovim using my terminal and the regular
lldb
command. However, usingnvim-dap
andlldb-dap
does not work.Actual Result
dap.log
The text was updated successfully, but these errors were encountered: