Created
August 29, 2013 16:40
-
-
Save tsironis/6380486 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long totalCrashes = BugSenseHandler.Instance.GetTotalCrashesNum(); | |
Debug.WriteLine("TotalCrashes: {0}", totalCrashes); | |
if (totalCrashes > 10) | |
{ | |
BugSenseHandler.Instance.ClearTotalCrashesNum(); | |
Debug.WriteLine("TotalCrashes after clear: {0}", BugSenseHandler.Instance.GetTotalCrashesNum()); | |
} | |
Debug.WriteLine("Last Error ID: {0}", BugSenseHandler.Instance.GetLastCrashID()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment