Skip to content
Bugwise
Menu
Mobile Testing

Mobile Logs and Crash Reports

Collect evidence for crashes, freezes and silent failures on iOS and Android, read an iOS crash report, use crash dashboards like Crashlytics, and hunt six bugs hiding in an app's own log.

45–65 min intermediate Mobile

Friday afternoon, a beta tester messages the team: “The app closed on me in the cart. No idea why.” The tester who picks it up doesn’t ask them to try again. Five minutes later the ticket has the build number, the exact time, the crash report from the beta tester’s iPhone, a link to the same crash on the crash dashboard (610 users so far, all on the new version) and the line of code: CartViewModel.swift:88. The release is paused before most users ever see it.

Logs and crash reports are how a tester turns “it just closed” into something a developer can fix. The adb Basics lesson showed how to read Android’s logcatLogcatAndroid's system log, read with adb logcat, where apps write errors and crash details.Open in glossary → from a terminal. This lesson covers the rest: iOS, phones without a cable, crash dashboards, and the bugs hiding in the logs themselves.

Part Not started

What can go wrong, and what it leaves behind

Not every failure is a crash, and each kind leaves a different trace:

What the user seesWhat happenedWhere the evidence is
The app disappears (iOS) or shows “ShopEasy keeps stopping” (Android)A crashCrashWhen an app suddenly closes or stops working because of an unhandled error.Open in glossary →: an unhandled error stopped the appA crash report with a stack traceStack traceThe list of function calls printed when an error happens, showing where in the code it occurred.Open in glossary → on the device and on the crash dashboard
The app freezes, then Android asks “isn’t responding”, or iOS closes itAn ANRANRApplication Not Responding: Android's dialog when an app freezes for about 5 seconds.Open in glossary → on Android, a watchdog kill on iOS: the main thread was blocked too longAn ANR trace or a crash report with a watchdog reason
The app restarts from the start screen after you used the camera or another heavy appThe system killed it to free memoryLittle or nothing in the app’s own crash report. On iOS, a JetsamEvent file in Analytics Data
Something doesn’t work, but nothing crashes: a spinner that never stops, a save that didn’t saveAn error the app handled badly, or hidError lines in the device log, and non-fatal errorsNon-fatal errorAn error the app caught and reported without crashing, such as a failed request or a parsing problem.Open in glossary → on the crash dashboard

That last row matters as much as the others. Silent failures never show up as crashes, so the log is often the only proof that something went wrong.

Three things to note every time

Whatever the failure, write these down right away, before you try anything else:

  1. Build: version and build number, e.g. 4.2.0 (418). Find it in the app’s About screen, in TestFlightTestFlightApple's service for distributing beta builds of iOS apps to testers before App Store release.Open in glossary →, or in the Play Store’s app details.
  2. Device and OS: model and OS version.
  3. The exact time, to the minute, and your time zone. Logs are thousands of lines long; the time is how you, and the developers, find the right ones.

Check this part

  1. Tapping Save shows a spinner that never stops. Nothing crashes. Where is the best evidence likely to be?

  2. Which three things should you note right after a crash?

Crashes, freezes, system kills and silent errors each leave different evidence; always note the build, device and exact time.

Part Not started

iOS: logs and crash reports

iOS has no adbadbAndroid Debug Bridge: a command-line tool for installing apps, reading logs and controlling Android devices.Open in glossary →, but it has more ways to get evidence than most testers know.

Crash reports on the iPhone itself

When an app crashes, the iPhone saves a crash report. You don’t need a Mac to get it:

  1. Open Settings › Privacy & Security › Analytics & Improvements › Analytics Data.
  2. Find the files whose names start with the app’s name and the date, for example ShopEasy-2026-10-13-140211.ips. The time in the name helps you pick the right one.
  3. Open it and tap Share to send it to yourself or attach it to the ticket.

The .ips file is the crash report the developers need. Attach the whole file to the bug report.

TestFlight and Xcode

  • TestFlight: when a beta build crashes, TestFlight asks the tester to send feedback with the crash. The report then appears for the team in App Store Connect under the build’s crashes, together with the tester’s comment. Encourage beta testers to say yes and add one sentence about what they were doing.
  • Xcode on a Mac: connect the iPhone, open Window › Devices and Simulators, select the phone, and open its device logs to see the crash reports stored on it. The Organizer window shows crashes collected from TestFlight and App Store users.

Live logs with the Console app

For problems that aren’t crashes, you want the live log. On a Mac:

  1. Connect the iPhone with a cable (and tap Trust on the phone the first time).
  2. Open Console (it’s in Applications › Utilities) and select the iPhone in the sidebar.
  3. Click Start to stream its log.
  4. Type the app’s name in the search box, for example ShopEasy, and choose to filter by process, so only the app’s own lines remain.
  5. Reproduce the problem, then click Pause and select the lines around the failure to copy them.

Console shows messages at several levels: Default, Info, Debug, Error and Fault. Errors and faults are the ones to look at first. Info and debug messages only appear if you switch them on in the Action menu.

Dev note: Logs from the iOS Simulator

The Simulator writes to the Mac’s own log. Stream one app’s lines in the terminal with xcrun simctl spawn booted log stream --predicate 'process == "ShopEasy"', or open Console and pick the simulator. Crash reports from the Simulator land in the Mac’s own crash reports, not in Analytics Data.

When it’s not a clean crash: sysdiagnose

For freezes, battery drain, networking problems and odd behavior, developers sometimes ask for a sysdiagnose: a big archive with logs from the whole system.

  1. Briefly press and hold both volume buttons and the side button together for about one second, until the phone vibrates. Then let go.
  2. Wait up to ten minutes while the phone collects the data in the background.
  3. Find the file starting with sysdiagnose_ in Analytics Data and share it.

Reading an iOS crash report

An iOS crash report looks scary, but you need only a handful of lines:

LineWhat it tells you
VersionThe app version and, in brackets, the build number
OS Version, Hardware ModelThe iOS version and the device model (iPhone16,2 is a model code, not a name)
Exception TypeThe kind of crash
Triggered by Thread / Thread 0 CrashedWhich thread crashed. Read only that thread’s stack first
The first line from the app’s own binary in that stackWhere in the app’s code it failed

The most common exception types:

Exception TypeUsually means
EXC_BREAKPOINT (SIGTRAP)A Swift safety check stopped the app: using an empty (nil) value, an index out of range
EXC_BAD_ACCESS (SIGSEGV or SIGBUS)The app used memory it shouldn’t, for example an object that was already gone
EXC_CRASH (SIGABRT)The app aborted itself, often after an uncaught exception. Look for a “Last Exception Backtrace” section
EXC_CRASH (SIGKILL) with a watchdog reason such as 0x8badf00diOS killed the app because it froze too long, for example while launching

Try it: read the report

🧾 Read an iOS crash report

A beta tester’s iPhone sent this report after ShopEasy closed on the cart screen. Answer each question by clicking the line in the report.

1. Which app version and build crashed?

Incident Identifier: 5C1A7E3B-90D2-4F6A-B1C8-2E77A0D4F913
Code Type: ARM-64 (Native)

Check this part

  1. A beta tester's iPhone crashed and you have no Mac nearby. Where can they find the crash report?

  2. In an iOS crash report, which stack should you read first?

  3. The crash report shows only addresses like 0x100000000 + 3099152 for the app's code. What is missing?

Get crash reports from the iPhone's Analytics Data, TestFlight and Xcode, stream logs with the Console app, capture a sysdiagnose, and read an iOS crash report.

Part Not started

Android: beyond adb logcat

You already know the core from adb Basics: clear the log with adb logcat -c, reproduce, then find FATAL EXCEPTION and the last Caused by. Here is what else Android offers.

A full bug report, straight from the phone

With Developer options on, a tester can collect everything without a computer:

  1. Reproduce the problem.
  2. Open Settings › System › Developer options › Take bug report (or Bug report, depending on the phone).
  3. Choose Interactive report (lets you add a title and screenshot) or Full report, and confirm.
  4. After a minute or two, a notification says the report is ready. Tap it to share the .zip file.

The zip contains the system log, recent crashes, ANR traces and device details. It’s big, so attach it to the ticket rather than pasting it. With a cable, adb bugreport creates the same file on your computer.

ANRs: the freeze before the dialog

An ANRANRApplication Not Responding: Android's dialog when an app freezes for about 5 seconds.Open in glossary → happens when the app’s main thread is blocked for about 5 seconds while the user is touching the screen. Android shows “ShopEasy isn’t responding” with Close app and Wait. For the developers:

Logcat in Android Studio

If you have Android Studio, its Logcat window is friendlier than the terminal. Type filters in the search field:

package:mine level:error          # only errors from the app you're running
package:com.shopeasy.app          # one app, all levels
tag:Checkout                      # one tag

Android vitals in the Play Console

Google Play collects crash and ANR data from users who share usage data and shows it in Play Console › Android vitals. Two numbers matter most: the user-perceived crash rate and ANR rate. Above Google’s “bad behavior” thresholds (1.09% for crashes and 0.47% for ANRs across all devices), the app can be shown less in the Play Store, so teams watch these after every release.

Check this part

  1. A tester without a computer needs to send full logs after a problem on Android. What should they use?

  2. An ANR happens on users' phones but never on yours. What is a good next step?

Take a bug report from Developer options, read ANRs, use Android Studio's Logcat filters, check Play Console's Android vitals, and know why obfuscated stack traces need a mapping file.

Part Not started

Crash dashboards

Most apps include a crash reporting toolCrash reporting toolA service built into an app that sends crash reports from users' devices to a dashboard, such as Firebase Crashlytics or Sentry.Open in glossary → such as Firebase Crashlytics, Sentry or Bugsnag. When the app crashes on any user’s phone, the tool sends the report to a web dashboard. For testers, it’s like having every user’s crash report in one place.

How the dashboard is organized

How testers use the dashboard

Try it: triage the dashboard

📊 Triage the crash dashboard

ShopEasy 4.2.0 went out to 20% of users three days ago. Crash-free users: 99.1% (4.1.0 was 99.7%). What do you do with each issue?

CrashNew

CartViewModel.applyPromo(code:)

CartViewModel.swift:88 · EXC_BREAKPOINT

1,240 events610 users

100% on 4.2.0 (418). Started a few minutes after the release. Every event has a promo code in the breadcrumbs.

0 of 6 triaged

Check this part

  1. What does the 'Regressed' label on a crash issue mean?

  2. You crashed the test app on purpose but the dashboard shows nothing. What is the most likely reason?

  3. Why does the 'users' number matter alongside 'events'?

Crash reporting tools group crashes into issues with users affected, versions, breadcrumbs and non-fatal errors; testers use them to find their own crashes and to watch every release.

Part ProNot started

Bugs the log reveals, and bugs in the log

Testers who watch the log while testing find two kinds of bugs:

  1. Bugs the screen hides. The app says “Saved” while the server answered with an error. A request is sent five times. A screen loads data it doesn’t need.
  2. Bugs in the log itself. Logs are read by more people than you think: anyone with the phone and a cable, crash tools run by third-party companies, support staff. Passwords, tokens and card numbers in a log are security and privacy bugs, even if the app works perfectly.

What must never appear in a log

Never in a logWhy
Passwords, PINs, one-time codesAnyone who reads the log can log in
Session or auth tokens (Authorization: Bearer …), API keysA token works like a password until it expires
Full card numbers, CVVPayment rules forbid storing them; at most the last four digits
Personal data beyond what’s needed (addresses, health data, messages)Privacy laws such as the GDPR; logs are copied to many places

Also check that settings are respected: if the user turned off crash reports or analytics, nothing should be sent, not even at launch.

Practice: find the bugs in ShopEasy’s log

Use the app like a normal user and watch the log on the right. Log in, open the profile and save it, pay in the cart, open Settings, and try refreshing the feed in airplane modeAirplane modeA device setting that turns off all wireless connections at once.Open in glossary →. Six bugs are waiting. Some are on the screen, most are in the log.

🐞 Bug hunt: ShopEasy with its device log

This demo has 6 hidden bugs. Explore it like a tester, then check your findings.

Found0/6
9:41

ShopEasy

Log in to continue

anna@example.com
●●●●●●●●●●●●

Device log · filtered to ShopEasy

14:02:00.023 I App: ShopEasy 4.2.0 (418) release build started
14:02:00.083 I Consent: shareCrashReports=false
14:02:00.120 I CrashReporter: Found 2 pending crash reports
14:02:00.300 I CrashReporter: Uploading 2 crash reports… done (2/2)
14:02:00.374 I Nav: open LoginScreen
  1. 1

    Hint: Tap Log in and read the first new line.

  2. 2

    Hint: Look at the lines after any request, once you are logged in.

  3. 3

    Hint: Change your name in the profile, tap Save, and compare the toast with the log.

  4. 4

    Hint: Pay in the cart and read the Checkout line.

  5. 5

    Hint: Turn airplane mode on, then tap Refresh feed on the home screen. Look at the timestamps.

  6. 6

    Hint: Open Settings, then scroll to the very top of the log (or tap Relaunch app).

Check this part

  1. The app works fine, but the log shows Authorization: Bearer eyJhbGci… with every request. Is it a bug?

  2. The screen says 'Profile saved' but the log shows a 500 error. What is the bug?

Logs reveal silent failures, and the logs themselves can leak passwords, tokens and card numbers, spam requests, or ignore privacy settings.

The rest of this lesson is in Bugwise Pro

The last parts of every lesson are part of Bugwise Pro. Sign in to unlock them if you have it.

Part ProNot started

Evidence in the bug report

A good crash or log-based bug reportBug reportA clear written description of a bug so developers can reproduce and fix it.Open in glossary → has:

Specific

“Crash on applying promo code SUMMER10, 4.2.0 (418), iPhone 15 Pro Max, iOS 26.1, 14:02 CEST, 5/5 tries. EXC_BREAKPOINT in CartViewModel.applyPromo(code:), CartViewModel.swift:88. Crash report attached, Crashlytics issue linked.”

Vague

“App crashed in cart, see attached log.” with a 40 MB log and no time.

A routine for every crash

  1. Note the build, device, OS and time.
  2. Reproduce it if you can, with a clear log: adb logcat -c on Android, or Console paused and cleared on iOS.
  3. Collect: the crash report (Analytics Data or the device log), or the bug report zip.
  4. Reopen the app, so the crash tool sends its report, and find the issue on the dashboard.
  5. Check the dashboard: is it new, regressed or known? How many users does it hit?
  6. Report: a new ticket, or a comment on the existing one, with the excerpt, the file and the link.

Example test cases

TC-LOG-001A test crash appears on the crash dashboard

Preconditions

  • Test build 4.2.0 (418) with crash reporting enabled
  • Test account with a known user ID

Steps

  1. Trigger the test crash from the debug menu
  2. Reopen the app
  3. Search the dashboard by the test user ID

Expected result

Within a few minutes, the crash appears with the correct version, build, device, symbolicated stack and breadcrumbs.

TC-LOG-002No crash reports are sent when sharing is off

Preconditions

  • "Share crash reports" is off in the app settings

Steps

  1. Trigger the test crash
  2. Reopen the app while watching the device log and network traffic

Expected result

No crash report is uploaded, and nothing appears on the dashboard for the test user.

TC-LOG-003Login and payment write no secrets to the log

Steps

  1. Stream the device log filtered to the app
  2. Log in, open three screens, pay with a test card
  3. Search the log for the password, "Bearer", and the card number

Expected result

No password, token or full card number appears. Card numbers show at most the last four digits.

TC-LOG-004A failed save is shown as a failure

Preconditions

  • The test server returns 500 for PUT /v1/profile (or use a proxy to force it)

Steps

  1. Change the profile name
  2. Tap Save

Expected result

An error message with a way to retry. No "saved" confirmation. The log shows the 500.

TC-LOG-005Offline retries back off and stop

Steps

  1. Turn on airplane mode
  2. Pull to refresh the feed once
  3. Watch the log for two minutes

Expected result

Retries happen with growing delays and stop after a limit. The screen shows an offline message.

TC-LOG-006Release build logs contain no debug detail

Preconditions

  • Release build installed (not a debug build)

Steps

  1. Stream the device log filtered to the app
  2. Use the main flows for five minutes

Expected result

Only short info, warning and error messages. No SQL queries, full request bodies or debug dumps.

Tip: click a test case to expand it.

Check this part

  1. How should a stack trace excerpt go into a bug report?

  2. Before attaching a log from a real user's phone, what should you check?

Put the right log excerpt, crash report and dashboard link in the bug report, follow a routine for each crash, and run the example test cases.

The rest of this lesson is in Bugwise Pro

The last parts of every lesson are part of Bugwise Pro. Sign in to unlock them if you have it.

Checklist

Mobile logs and crash reports checklist

0 of 12 checked

Key takeaways

  • Crashes, freezes, system kills and silent failures each leave different evidence. Note the build, device, OS and exact time every time.
  • iOS: crash reports in Analytics Data (shareable .ips files), TestFlight feedback, Xcode, live logs in the Console app, and a sysdiagnose for the hard cases.
  • Android: logcat, Take bug report in Developer options, ANR in, and Android vitals in the Play Console.
  • Symbols and mapping files turn addresses and a.b.c back into code. They only match the exact build.
  • Crash dashboards group crashes into issues. Check new and regressed issues, users affected and non-fatal errors after every release, and reopen the app so reports get sent.
  • Logs must never contain passwords, tokens or card numbers, and must respect the user’s privacy choices. Those are bugs too.

Finished this page?Nice work, this page is complete!

Mark it as done to track your progress. It's saved in this browser, no account needed.

Its cards are now in your Bites review ⚡
Esc

Type to search the whole site.