Display Android Thread ID in LogCat
11,069
Solution 1
Answering myself: Since 2 weeks have gone by and no concrete suggestion as to how to add a a 6th column for thread id in LogCat has been provided, I can only assume that this isn't possible (currently).
Solution 2
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.
Solution 3
This should help you - http://android.bigresource.com/Track/android-03XY4qFTQ/
Related videos on Youtube
Author by
an00b
Updated on October 16, 2020Comments
-
an00b over 3 years
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?
-
an00b about 13 yearsI am already using android.os.Process.myTid() in my Log.x() but I was asking specifically about adding a 6th column to LogCat in Eclipse, if possible. +1 for the attempt.
-
user462982 about 12 yearsHere is a feature request for it: code.google.com/p/android/issues/… Feel free to starr :)