-
Notifications
You must be signed in to change notification settings - Fork 34
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
source viewer problem #90
Comments
I tried this with one of my other projects, it works for the other project but not this one. |
The only difference between the 2 projects is, the one that is not working is a workspace with multiple crates. |
to be honest I'm really not sure how this feature works; I imagine that the debug symbols for the binary include a source map, and maybe the paths are wrong in the context of a workspace? |
This thread on the same problem has a comment from 2018 saying "It appears the AT_decl_file entries for C++ code have absolute pathnames while the entries for Rust have relative pathnames." Someone more recently said that running dsymutil fixed it, but it didn't for me. |
After running dsymutil, in Instruments picking File -> Symbols, then Add Symbols (in the top middle of the window) -> Individual symbols, then the dsym file found at like |
Hello,
I have the problem where the source viewer only works for
main.rs
and any other code is unavailable.The error is
can't find source code for selected symbol
The text was updated successfully, but these errors were encountered: