Logcat data not displaying in the Log Tab of DDMS Eclipse
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)
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, 2022Comments
-
LenseOnLife almost 2 years
- The log tab is visible in DDMS and I have been logging data using Log.v(...) for many a week now without any problems.
- 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.
- Have tried running the app on an external Android phone, on the Android Simulator and it makes no difference.
- Have closed down Eclipse, reloaded and still no change.
- The console displays activity but only to the point of starting the activity.
- 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 about 13 yearsYup, that was the cause ... now all happy in programming and debugging land :-)
-
LenseOnLife about 13 yearsThanks for the tips, it turned out that I had not the correct device selected as per previous thread.
-
LenseOnLife about 13 yearsHi, thanks for the tip, it was a device selection problem as highlighted earlier in the thread - but thanks again for your time.
-
Zala Janaksinh about 8 yearsbut in device can't display the devices.