Code issues consist of caught non-fatal exceptions or application not responding (ANR) issues. A code issue snapshot is a detailed report on a particular event including the code that was executing when the exception or ANR occurred.
Code issue snapshots help you understand the causes of these issues. Use Code Issues to get trend and detailed information on application non-responsive issues (ANRs) and caught errors and exceptions.
Catch and Report Code Issues
All the Mobile Agents except the iOS Agent will automatically detect and report ANRs. For iOS, you have to enable ANR detection. To catch and report errors and exceptions, you instrument your mobile applications with iOS, Android, and Xamarin SDKs.
See the section "Report Errors and Exceptions" (iOS, Android, Xamarin) to learn how to use the SDKs to manually catch and report errors and exceptions.
Access the Code Issues Dashboard
The Code Issues Dashboard is where you can view both summary and detailed information about code issues.
- Open the application you want.
- On the left navigation bar of your application, select Code Issues.
The Summary Code Issue Trend and Unique Code Issues widgets are on the Code Issues Dashboard. The Summary Code Issue Trend widget displays the number of code issues, impacted users, and unique code issues as well as graph the code issues on a timeline. The Unique Code Issues widget displays details about the unique code issues such as the severity, the issue type, runtime, impacted users, and mobile app version.
To view code issue information:
- Open the application you want.
- From the Code Issues Dashboard, both Summary Code Issue Trend and Unique Code Issues widgets display.
- You can click one of the unique code issues in the Unique Code Issues widget to view the Code Issues Details dialog.