Hi all,
Its good to write a new post after a long long time. So here I am with a very useful post about the debugging. Sometimes debugging your application could be a problem, when you don’t know whether this issue is because of platform code or kernel code. Specifically I must say, you will feel this scenario when you have to measure some time, and you need to decide whether this is coming from the kernel side or platform side. But as platform and kernel code uses different type of time-stamp, it is almost impossible to debug. So for that there is one command in the adb itself. Here are the steps :
1. Go to adb shell.
2. Type “logcat -f /dev/ksmg”
3. just use dmesg or cat /proc/kmsg to see the complete logs.
2. Type “logcat -f /dev/ksmg”
3. just use dmesg or cat /proc/kmsg to see the complete logs.
Here is one prerequisite, your phone should be rooted. otherwise you won’t have permission to the above steps. I hope it will help you.
No comments:
Post a Comment