benaadams / Ben.Demystifier

High performance understanding for stack traces (Make error logs more productive)
Apache License 2.0
2.76k stars 118 forks source link

Does this works with Xamarin Forms? #101

Open luizhj opened 4 years ago

luizhj commented 4 years ago

Does this works with Xamarin Forms?

MagicAndre1981 commented 3 years ago

yes it works with Xamarin.Forms.

bruno-garcia commented 3 years ago

Xamarin.Forms is a set of libraries so it isn't really dependant on it.

If you're targeting Android, yes. If you're targeting UWP, no.

MagicAndre1981 commented 3 years ago

If you're targeting UWP, no.

with .NET native it is correct, here it fails, in debug mode (no .net native) it works and here it is helpful, even if stack still includes some noise):

   at async Task<Result> Foo.App.BarMethode()
   at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<TStateMachine>(ref TStateMachine stateMachine)
   at async Task<Result> Foo.App.BarMethode()
   at async void Foo.App.OnBarButtonClicked(object sender, EventArgs e)
   at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<TStateMachine>(ref TStateMachine stateMachine)
   at void void Foo.App.OnBarButtonClicked(object sender, EventArgs e)
   at void Xamarin.Forms.Button.Xamarin.Forms.Internals.IButtonElement.PropagateUpClicked()
   at void Xamarin.Forms.ButtonElement.ElementClicked(VisualElement visualElement, IButtonElement ButtonElementManager)
   at void Xamarin.Forms.Button.SendClicked()
   at void Xamarin.Forms.Platform.UWP.ButtonRenderer.OnButtonClick(object sender, RoutedEventArgs e)