There was a very handy feature for debugging, that was present in Android studio 2.x, but currently is not there in 3.x.
It was a bit hidden in the UI:
Then it will prompt with detailed activity manager state:
I know, that I can acquire that output with adb shell dumpsys activity top
, I'm just curious whether it is possible to get the old functionality back?
1): View->Tool Windows->Android. Then on the left hand side select the System Information Icon and from it's drop down select 'Graphics State'. This will dump show a lot of information, but if you scroll down to 'View hierarchy:' you will see the current stack of views i.e. the 'Back Stack'.
Find the System Information tab in Android Monitor . Then, Activity Manager State . Then, it shall generate you stack of your activities. Look for ACTIVITY(all caps).
A task is a collection of activities that users interact with when trying to do something in your app. These activities are arranged in a stack—the back stack—in the order in which each activity is opened. For example, an email app might have one activity to show a list of new messages.
As pointed out by Wojtek Kaliciński in a tweet:
A bug is opened here.
We apologize if this was inconvenient. The old feature is still available from the terminal tool window by doing "adb shell dumpsys activity" and have it in a file. We plan to integrate more of this into the actual UI of the profilers as opposed to a plain txt file out of the command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With