Tomek Kondrat · Dec 2, 2013 at 06:00 am

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!

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO. View eagleeyetom's posts and articles here.
TK · May 21, 2015 at 02:15 pm · 1 comment

Device Review: No.1 X1 Rugged Smartphone

We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the year already. While flagship phones usually offer bleeding-edge specs and are the most sought after phones, there is a huge market for non-flagship phones. Some offer value, others offer unique differentiating features. Today, we are going to look at the X1 phone by a Chinese company named N0.1. The company promises a truly rugged IP68 Certified phone. The device has a Quad...

XDA NEWS
Emil Kako · May 21, 2015 at 01:10 pm · 4 comments

When a Friend or Family Member Asks for a Phone Recommendation, What Do You Tell Them?

The majority of us here at XDA would consider ourselves power users and Android enthusiasts. Thus, when a friend or family member has a question about which phone they should get, they usually come to us. However, this is where we all differ. While some will atomically recommend the Nexus line, others in the community will suggest an offering from Samsung or LG. When a friend or family member asks you for a phone recommendation, what do you say?

DISCUSS
Chris Gilliam · May 20, 2015 at 04:08 pm · 8 comments

Nexus 4, 5, and 9 OTA Downloads of 5.1.1

This month was a big one for Android 5.1.1 updates, as you can see from last week's roundup and the barrage of posts on the portal's front page in the recent past. So far we are seeing the lineup of Wear watches, the Nexus 4, Nexus 9, Nexus 10, Nexus Player, and a handfull of others slowly make their way to the latest Android. While waiting around for updates may be fine for casual users, this is XDA; we have OTA download links...

XDA NEWS
Share This