It is also noteworthy that at least version 21 of the ADT plugin has a TID column displayed in the Eclipse log viewer when you have display options at maximum verbosity, but the stream ID is not saved if you copy and paste the contents of this view. Instead, you will see something like [debug level] [timestamp] [invocation] (PID) ... but not a stream identifier. I don't know if there is an easier way to capture TID data directly from eclipse, but this can be done using a remote adb shell like this:
Run the following command from the command line: adb -s [serial number of your device] shell "logcat -v threadtime"> [your_output_file]
your session will be visible, but in fact the output of the device's logcat, exactly as shown in the logcat eclipse view, including the TID, is written in real time to your output file. When you want to view the contents, exit the logcat dump process with ctrl + c and open the file on your PC. Other logcat filtering options, etc. Can be found here. one
CCJ May 01 '13 at 9:46 pm 2013-05-01 21:46
source share