-
Notifications
You must be signed in to change notification settings - Fork 320
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
How to enable line numbers in stack traces #462
Comments
@danim-hub I'll have the team take a look at doing an update. |
Hi @danim-hub, We don't currently display line numbers in Xamarin stack traces. I'm actually in conversation with the Xamarin team as we think this is a limitation on the Xamarin side since we don’t process any Xamarin logs and line numbers are only available in debug builds of Xamarin apps. In the meantime, I've noted this as a feature request to help our team prioritize this in the future. I'll keep you posted when I hear back and have a workaround/solution. Thanks for your patience! |
Anything new on this? I am using Xamarin and AppCenter and when things get logged there are no lines #'s in the exception log. |
[+] |
Hey there - apologies for the delay. No updates on this yet. We have an item on our backlog to investigate this some more but unfortunately I don't have an ETA. I'll post here with updates. Thanks! |
@winnieli1 Thanks a lot for the update. |
Following! This feature would definately be at large help. |
This would be a huge benefit to us as well |
It's weird the official screenshots include the line numbers. So I guess it must boil down to uploading some files like pdb. It just lacks some guidance. Why did you close this @jwargo ? |
@sandorfr because @winnieli1 responded with a direct answer, I assumed that was enough. If you want it open, please do so. |
Generally, responding with a direct answer isn't reason to close an issue. The issue has to have reached a state of resolution, e.g. fixed, not applicable, etc. Since this issue is on the docs specifically, it represents the lack of documentation regarding enabling line numbers. The docs should probably be updated to mention the that the stack traces don't support showing line numbers, since that's a common feature with stack traces. This issue should stay open until that doc update is made. Separately, there's another issue about actually implementing line numbers (not just documenting). That issue is in the private backlog that @winnieli1 mentioned and presumably is still open. Unfortunately, there's no transparency into the private backlog issue. |
Any update about this issue? |
Without line number this feature loose power and, this have reach a complete year and will be great if we get some update, like a link to point the discussion to the right point or to track the feature implementation. |
Still looking for line number |
Same request for me |
Shall we wait until .net 5 comes to Xamarin in order to get this feature? If yes I can wait 👯 |
Same issue here: In debug mode, line numbers are shown. |
I obtained lines number using mono-symbolicate tool, enabling debug info and saving pdb and dll of each build. But it's a very useful information, it would be great if App Center should be able to do it automatically |
@fgiacomelli question. The dll that you publish with the app has the debug info enabled or you enabled it just to get the pdb and then publish a dll version without debug support? I has because enable debug infrastructure affect the performance. |
at this time we are publishing a version with full debug info enabled; performances are not really worsened and for us is more important being able to fix crashes quickly. |
@fgiacomelli No, I have not test yet I don't know how to put the pdb in the apk to be distrubuted to production! even when I deploy the app In debug mode when I use adb logcat to see the log the stack trace doesn't show the line number info. |
What settings in your Android project did you have to set and the values to enable correct generation of .mSYM on Release builds? I had MonoSymbolArchive = true, DebugSymbols = true, and DebugType = PdbOnly. It generated the .mSYM files and when I run mono-symbolicate, I am getting IndexOutOfRangeException error when it is trying to parse a raw crash report from AppCenter. |
Still waiting for line numbers. |
any news on this? |
Any update on this? |
Sentry has line numbers for .NET PDBs: getsentry/sentry-dotnet#1740 |
This document does not specify how to show line numbers in stack traces. I understand release builds comes with no debugging information, but I think these releases can be "symbolicated" in iOS, and probably there is a similar verb for Android. Please comment if it is possible to do this, and it will be really appreciated if you update this document accordingly.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: