Frage

Ich mag Stack-Traces aus den letzten Stunden untersuchen. Ich habe keinen richtigen logcat Befehl gefunden. Does Android „vergessen“ diese Protokolle?

Erste Geschichte:

Wenn ich eine nicht behandelte Ausnahme in meiner Mitarbeiter Iphone App finden, verbindet er das iPhone an seinen Computer und liest den Stack-Trace in x-Code. X-CODE visualisiert auch die Ausnahme in einer schönen Weise. Gibt es eine smth. ähnlich in Android?

War es hilfreich?

Lösung

You probably won't be able to see those logs from the past hours. Imagine that your phone stores all logs, how much space will it consume in a couple of days?

So, this is what I do:

  • I'm in the autobus, and suddenly the app I'm working on crashes!
  • I'd like to see what's the logcat output to analyze it at home
  • I just launch the Android log collector app, and send myself an email with the logcat output
  • I get home, have dinner, feed the dogs and then I can start working on the logtrace I emailed hours ago.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top