See all method calls in Android Studio debugger?

Viewed 704

I am working on an app that uses a lot of asynchrous calls and eventbus logic and so the code is hard to follow just from reading. I want to see which methods are called when I do certain basic use-paths. Is there a way to log which methods are getting called without going and putting a log statement/breakpoint in every method?

1 Answers
  1. Open Profiler.
  2. Run App.
  3. Click on CPU in Profiler.
  4. Then Select CPU Profiling mode as "Trace Java Methods".
  5. Click "Record".
  6. Do your asynchronous calls.
  7. Click "Stop".
  8. On the right side screen click "Top Down".

Success (happy coding)

enter image description here

Related