pbreault / adb-idea

A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.
Apache License 2.0
2.12k stars 257 forks source link

Request: fetch traces.txt #38

Open Pitel opened 8 years ago

Pitel commented 8 years ago

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.