crashes · crash
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
The crashes the device recorded — Java exceptions, native signals and apps that stopped responding — newest first, with the line worth reading first. These call app_crashes.
crashes
def crashes(app: str | None=None, limit: int | None=None) -> list[dict]
The crashes the device recorded, newest first.
Each has id, time, kind (crash, native_crash or anr), app and summary. Not drained: a crash is a record, so asking twice shows it twice.
crash
def crash(id: str) -> dict
One crash report in full, by an id from crashes(); the text is in text.
Examples
List one app's crashes
for crash in device.crashes(app="com.example.shop"):
print(crash["time"], crash["kind"], crash["summary"])