Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logcat data not displaying in the Log Tab of DDMS Eclipse

  1. The log tab is visible in DDMS and I have been logging data using Log.v(...) for many a week now without any problems.
  2. Today, the log data is now longer being displayed in the Log window. Worked, then did a programming change to track a bug and now the log data is no longer showing.
  3. Have tried running the app on an external Android phone, on the Android Simulator and it makes no difference.
  4. Have closed down Eclipse, reloaded and still no change.
  5. The console displays activity but only to the point of starting the activity.
  6. The external phone is set up for debugging - not that this could be a problem since I have the same problem with the simulator

It looks like I have inadvertantly set something incorrectly but can't remember changing anything :-(

Anyone come across this problem before - have looked at previous posts but none seem relevant.

Regards,

Oliver

like image 319
LenseOnLife Avatar asked Dec 16 '22 15:12

LenseOnLife


1 Answers

I had the same problem a while back. I was using the emulator and device for debugging. Apparently you have to select the device listed in the DDMS view whose logs you want to see. My logs were blank because the device that I was expecting logs from was not the one selected.

Hope that helps

like image 95
azharb Avatar answered Apr 20 '23 00:04

azharb