Info
Version: | 1.0.1.1 |
Author(s): | Lucian Wischik |
Last Update: | Saturday, August 15, 2015 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/ljw1004/async-exception-stacktrace |
NuGet Url: | https://www.nuget.org/packages/AsyncStackTraceEx |
Install
Install-Package AsyncStackTraceEx
dotnet add package AsyncStackTraceEx
paket add AsyncStackTraceEx
AsyncStackTraceEx Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
This package provides an alternative, Exception.StackTraceEx(), which has cleaned up async output, and which gives line and file numbers even on phone.
This way, if your app crashes, you can synthesize much better crash reports for the user to email back to you.
Await DownloadAsync(url).Log()
To get that richer information in exception stack-traces, you have to augment your "await expr" calls with "await expr.Log()", as shown above.
Await DownloadAsync(url).Log("DownloadAsync",url)
If you chose to include more information, then the exception stack traces you get will be even richer and more actionable.