quickbird-uk / QuickbirdUWPDashboard

Quickbird UWP App and Server
http://www.quickbird.co.uk/
GNU General Public License v3.0
27 stars 7 forks source link

Capture Crash Information #60

Open VladimirAkopyan opened 6 years ago

VladimirAkopyan commented 6 years ago

Capture app crashes somehow. Log the crash, send it to server!

VladimirAkopyan commented 6 years ago

Can't capture Line Number where exception occurred because it's not implemented till .net https://stackoverflow.com/questions/34833573/windows-10-exceptions-not-including-line-numbers

VladimirAkopyan commented 6 years ago

Another helpful link: https://blogs.msdn.microsoft.com/wsdevsol/2014/10/16/strategies-for-handling-errors-in-your-windows-store-apps/

VladimirAkopyan commented 6 years ago

The only real documentation for the event log is in this github repo, nothing else really: The data is saved as ETL files, and the only way to open them is with the Windows performance analyser Then you can use the GUI tool and just double-click the file, or Xperf command line utility

Download the Windows Deployment kit and tick only the windows performance tools in the installation options

VladimirAkopyan commented 6 years ago

Nah, not everything. I think we need to capture when user transitions from one page to another. Maybe we want to capture button clicks. Also, what happens if the app logs like a billion events? Do old ones get deleted, or will it run out of memory? Do I need to re-start logging session?

VladimirAkopyan commented 6 years ago

Seems like we don't need to re-start or clear logging sessions, which is good! https://stackoverflow.com/questions/33051245/what-is-the-loggingsession-buffer-size