Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display Android Thread ID in LogCat

By default, LogCat on Eclipse displays 5 informational columns:

Time       Level  pid   tag message 

Is it possible to add a 6th column, displaying thread id?

like image 556
an00b Avatar asked Mar 31 '11 00:03

an00b


2 Answers

Run ADb in the command shell like this:

C:\Temp>adb logcat -v threadtime > t.txt

This will run in parallel to your Eclipse session. Once you done with Eclipse, Ctrl+C from shell and you'll have the log in t.txt. It is not as nice as having it in the Eclipse logcat window but will do the job.

like image 102
alexb Avatar answered Oct 06 '22 03:10

alexb


This should help you - http://android.bigresource.com/Track/android-03XY4qFTQ/

like image 21
Vinoth Avatar answered Oct 06 '22 02:10

Vinoth