'App Center diagnostics will not display line number in stacktraces when on Release
We are using App Center in a Xamarin Forms app to get diagnostics and analytics about the app. When the app is in Debug mode, the stacktraces generated by the exceptions show the whole path of the exception including the line number in which the exception occured.
e.g.: at TestApp.Libs.Helpers.Builder.ItemFound (System.Object sender, System.EventArgs e) [0x00018] in TestApp\Libs\Helpers\Builder.cs:2742
The stacktraces generated when the app is in Release mode for the same error are like this though:
at TestApp.Libs.Helpers.Builder.ItemFound (System.Object sender, System.EventArgs e) [0x0001e] in <d05242e7a37140e4bbba47144040889a>:0
What settings should we use to generate the correct stacktraces in Release mode, if it is possible in the first place?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
