When the app gets to Application not responding state, Android automatically generates file /data/anr/traces.txt with stack traces of all threads. It's very useful for debugging this problem, because you immediately see which thread and where is stuck.
But to get this file, you have to disconnect all devices (because you don't remember the id for the -s switch) and type adb pull /data/anr/traces.txt a open it on some text editor.
This sucks.
It would be most awesome to have this feature accessible in Android Studio. And I think it fits in this plugin.
When the app gets to Application not responding state, Android automatically generates file
/data/anr/traces.txt
with stack traces of all threads. It's very useful for debugging this problem, because you immediately see which thread and where is stuck.But to get this file, you have to disconnect all devices (because you don't remember the id for the
-s
switch) and typeadb pull /data/anr/traces.txt
a open it on some text editor.This sucks.
It would be most awesome to have this feature accessible in Android Studio. And I think it fits in this plugin.