print the current back stack in the log

Viewed 8467

Is there a way to print the current back stack of the current task in an Android app? In particular, I want to understand when an activity is popped off the stack after its onDestroy() is called.

4 Answers
Related