Symbolication for AOT-compiled stack traces on iOS
See original GitHub issuePackage
Sentry.Maui
.NET Flavor
.NET
.NET Version
7.0.102
OS
iOS
SDK Version
3.28.1
Steps to Reproduce
- Make a new MAUI application
- Add
Sentry.Maui
- Write code that throws an exception
- Configure MSBuild with org and project
- Build in Release mode
- Deploy to a real iOS device (not the simulator)
- Run the app and cause the exception to fire
Expected Result
Error in Sentry should include file names and line numbers in the stack trace.
Actual Result
No symbolication occurs.
The JSON of the event does not contain any debug_meta
information, symbolication is not attempted.
Issue Analytics
- State:
- Created 7 months ago
- Comments:25 (20 by maintainers)
Top Results From Across the Web
Adding identifiable symbol names to a crash report
Replace hexadecimal addresses in a crash report with function names and line numbers that correspond to your app's code.
Read more >symbolicating crash reports manually (stack trace, backtrace)
Symbolication is the process of resolving backtrace addresses to source code method or function names, known as symbols. Without first ...
Read more >Symbolicating Stack Trace without Crash - ios
Is there any way to symbolicate a stack trace that is not a full crash report? I am logging the string result of...
Read more >Symbolicating iOS Crash Reports and Logs
Symbolication of crash reports makes it easier to identify the origin of errors, making it easier to identify and resolve bugs in a...
Read more >Mono 4.6.0 Release Notes
mono-symbolicate is now able to retrieve the correct symbols versions from the stack trace, and to symbolicate using the symbols in the symbol ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’ll encourage you to try steps for NativeAOT targetting iOS as mentioned in this blog post on any .NET8 Preview 6 or 7 builds and give us feedback - https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-6/#support-for-targeting-ios-platforms-with-nativeaot
Well, the stack frame simply has no
instruction_addr
. Theaddr_mode
references the debug file, and thefunction_id
is there as well. There just isn’t anyinstruction_addr
. Is it possible that this particular platform does not provide anyGetILOffset
value at runtime?