Logcat data not displaying in the Log Tab of DDMS Eclipse

10,797

Solution 1

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

Solution 2

Tried this: https://stackoverflow.com/a/9826502/1238317

Check in your logcat window - TOP RIGHT corner PAUSE button || (Pause receiving new logcat messages)

Few clicks + eventually restart eclipse (usually works in my case)

Share:
10,797
LenseOnLife
Author by

LenseOnLife

Geriatric programmer returning to the trade after a forced exile for over a decade :-) Am an oldfashioned UNIX, C programmer slowly coming to grips with this OO world and the Android OS. Who knows, one of these days I might even be able to answer questions! Now THAT would be a change :=)

Updated on June 04, 2022

Comments

  • LenseOnLife
    LenseOnLife almost 2 years
    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

  • LenseOnLife
    LenseOnLife about 13 years
    Yup, that was the cause ... now all happy in programming and debugging land :-)
  • LenseOnLife
    LenseOnLife about 13 years
    Thanks for the tips, it turned out that I had not the correct device selected as per previous thread.
  • LenseOnLife
    LenseOnLife about 13 years
    Hi, thanks for the tip, it was a device selection problem as highlighted earlier in the thread - but thanks again for your time.
  • Zala Janaksinh
    Zala Janaksinh about 8 years
    but in device can't display the devices.