Make Android Application Debugging Easier with STrace
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!
In our Helpful Guide to Music Streaming Services, we mentioned several different services that offer ways to stream catalogs of music directly to your device. While each service has their benefits and drawbacks, the common theme among them is to give you access to a vast library of music without the need to store your own, and charge you a monthly fee for the privilege. But what if you already had access to your own catalog of music? Sure, there...
Battery life is an important aspect of your smartphone, especially if you use it for more than just calls on the go. Since you're on XDA, you probably do and want to get the most out of your battery. Now, you can't magically expand its size but no matter how much its capacity is, you should make sure it's not draining faster than it should be. Your phone's processor runs at different frequencies when you're using the device. The CPU...
We are very close to entering the last third of 2015, and we have now seen many of the biggest flagship lines issue their latest iterations. Phones like the LG G4 and Galaxy S6 were some of the most anticipated devices in smartphone history, and the hype surrounding the M9 and OnePlus 2 had us discussing for weeks. But for the most part, the awe has vanished. There is a feeling that virtually all of us at the XDA office...