If your plan includes crash reporting, crashes will automatically be reported to and viewable from the crashes page of your Instabug dashboard.
You'll also be able to see the trends covering the previous 7 days for percentage of crash-free sessions (sessions that ran and concluded without any fatal errors), total number of crashes, total number of unique affected users, and total number of non-fatal errors. An email will be sent to you if there is sharp decline in the crash-free sessions percentage.
The Instabug SDK also supports and captures C++ crashes.
By default, if Crash Reporting is enabled, Instabug captures OOM crashes, however, the crashes will not contain a stack trace and will only be captured if they happen while the app is in the foreground.
You can disable/enable capturing OOM crashes using the following API:
CrashReporting.OOMEnabled = false
IBGCrashReporting.OOMEnabled = NO
Crash reporting will not function correctly if the device is connected to Xcode. When it is, Xcode catches all the exceptions and they are not sent to your dashboard.
You can manually report your own exceptions or errors in case you already handle them in your code.
To report exceptions manually, use the following method.
To report errors manually, use the following method.
let error = NSError(domain: "domain", code: 500, userInfo: nil) CrashReporting.reportError(error)
NSError *error = [[NSError alloc] initWithDomain:@"domain" code:500 userInfo:nil]; [IBGCrashReporting reportError:error];
This section contains a list of all the crashes that have been reported by your application. The title of each crash is usually the most significant line in the stack trace.
Next to each crash in the list, you can find the following details, all of which can be used to sort the crashes:
- Severity: Blue dashes that show the seriousness of this crash from low (one dash), moderate (two dashes), high (three dashes), and critical (four dashes) by taking into consideration several factors, including the percentage of affected users, the number of crashed sessions, and app versions impacted by that crash. When a crash has high severity, an email notification will be sent to your email regarding the crash in question since these crashes have the highest impact on your users.
- Occurrences: The number of times this crash has occurred.
- Users: The number of users affected by this crash.
- Min Version: The lowest app version number affected by this crash.
- Max Version: The highest app version number affected by this crash.
- Last Occurred: When the latest occurrence of this crash happened.
You can then filter for crashes that match any of the following criteria:
- App Version
- User Attributes
Updated 12 days ago