Make Android Application Debugging Easier with STrace
Posted December 2, 2013 at 06:00 am by Tomek Kondrat
Logcat is a powerful diagnostic tool designed to help developers with debugging errors in their applications. Without it, fixing most of applications would be significantly more difficult. However, it appears that logcat is not the only diagnostic tool available to app developers.
Now, there is an alternative tool ported by XDA Senior Member alireza7991. STrace is a debugging utility to monitor a program’s system calls or signals it receives. Unlike logcat, Strace can be used to monitor a single application, so it’s much easier to find abnormal behavior. This tool can then be used to find causes for crashes or anomalies.
Using STrace is really simple. All you need to do is to push the bin file to /system/bin/ on your device and set the correct permissions with chmod. Then, you can run it from terminal emulator or ADB shell.
If you are interested in a new piece of debugging software, make your way to the utility thread and learn more about STrace.
Want something on the XDA Portal? Send us a tip!