Filter specific package in adb logcat

Tired of debugging using eclipse ? too much menu or button for you?. Then use this command, it should filter for you the desired package.

# adb logcat | grep `adb shell ps | grep com.my.applicaitonĀ | cut -c10-15`

replace com.my.application with your application package. Make sure you copy the code exactly as it is.

Leave a Reply

Your email address will not be published. Required fields are marked *