Debug information (to map to source) when EnableLLVM is true? #23932
Unanswered
jamescrosswell
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When setting
<EnableLLVM>true</EnableLLVM>
in the csproj file for a MAUI application targetingnet8.0-android
, I'm looking for a way to map instruction addresses in the resulting compiled code back to source lines.I can see a
*.pdb
file in the/bin/Release/net8.0-android/android-arm64
folder but I think that only contains debug information for managed code right? It doesn't contain enough information to symbolicate the native code generated by LLVM (since LLVM doesn't know anything about pdb files).The LLVM docs regarding source level debugging refer to a canonical method/format used for C/C++ front ends based on DWARF and have this to say about other languages:
Is there a debug information format for .NET applications that have been compiled using LLVM and, if so, can we tell
dotnet
to output this when compiling MAUI applications with LLVM enabled?Beta Was this translation helpful? Give feedback.
All reactions