https://stackoverflow.com/questions/5338083
Question
For Windows(All versions) we can use - Detours, StraceNT
Linux has a host of tracing utilities - link
How do I do a similar thing on Mobiles?
Solution
http://benno.id.au/android/strace
taken from here