Skip to content
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

Xamarin Forms - line numbers in stack traces #1848

Closed
Mikilll94 opened this issue May 8, 2020 · 2 comments
Closed

Xamarin Forms - line numbers in stack traces #1848

Mikilll94 opened this issue May 8, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists feature request New feature request

Comments

@Mikilll94
Copy link

Describe the solution you'd like
Currently, there is a problem with Xamarin.Forms apps, because if you compile Android or iOS app in release mode, crash reports do not contain line numbers.

I don't know if line numbers in the crash reports are not supported via App Center or I am doing something wrong.

@Mikilll94 Mikilll94 added the feature request New feature request label May 8, 2020
@DmitriyKirakosyan
Copy link
Contributor

Hi @Mikilll94 ,

I'm sorry for the late replay and thank you for getting in touch with us!

Closing this issue as a duplicate of #165.

Please follow the original issue.
Thanks.

@DmitriyKirakosyan DmitriyKirakosyan added the duplicate This issue or pull request already exists label Dec 22, 2020
@rhult
Copy link

rhult commented Sep 28, 2023

(Copying this from the dup in case it helps someone) I got tired of waiting for this to never happen so I put together a small tool that helps somewhat. See the repo at https://github.com/rhult/crash-sharpener

It is not a full solution, but it does two things:

  1. Add information to stack traces that can be uploaded as handled errors to App Center
  2. A tool you can run locally to symbolicate those stack traces

You can use this to automate symbolicating by downloading the errors from App Center using its API, and then symbolicate them on your machine. I have tested it with iOS and Android on .net7 and it works well. I get line numbers from release builds this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature request New feature request
Projects
None yet
Development

No branches or pull requests

3 participants