Android Call Tracing

I want to know how to trace methods for Android applications. I mean the sequence of calls for each object, not the stack trace.

This is very similar to this question (call trace in java) , but on different platforms (jvm-PC vs dvm-Android). I have no control over dalvik's initial arguments, so I cannot specify a java agent (or am I wrong here?). Is there any other way to track methods?

Thanks!

+4
source share
1 answer

The Runtime.traceMethodCalls () method mentioned in the answers to a related question is actually connected to Android. It just launches the method profiling function with default arguments. For more information, read the article on profiling and tracking methods in the Android documentation.

+4
source

Source: https://habr.com/ru/post/1308956/


All Articles