Skip to content

Instantly share code, notes, and snippets.

@tsironis
Created August 29, 2013 16:40
Show Gist options
  • Save tsironis/6380486 to your computer and use it in GitHub Desktop.
Save tsironis/6380486 to your computer and use it in GitHub Desktop.
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