android - 为什么 Logcat 不显示所有系统消息?

标签 android logcat

我尝试使用 Logcat 调试我的 Android 主屏幕小部件,但由于某些原因,并非所有消息都显示在日志中,这是为什么?

有时我可以看到系统 Intent ,有时我的 Log.d() 字符串并未全部显示在日志中。

我在 Eclipse 中使用标准的 Logcat View ,Logcat 很冗长而且我没有任何过滤器。

编辑: 也许我的问题不清楚。 Logcat 在其“控制台”中显示内容,只是某些条目似乎丢失了。例如系统Intent和我自己的(我创建的)不显示或全部不显示是否正常?

最佳答案

我认为它是 this 的副本. 来自 ddewaele 的回答,你试过了吗?

When using Eclipse, in the DDMS perspective, make sure the correct device (propably emulator-xxxx) is selected and highlighted. Only then will you get the logcat output in the logcat view.

Also, the Android plugin is a bit quircky, and sometimes only shows the last line in the logcat view. If this happens, try to clear the log. After that, you should get all the log entries again (works for me anyway).

关于android - 为什么 Logcat 不显示所有系统消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8894824/

相关文章:

android - Eclipse Logcat 过滤器加号不可见

android - java.lang.ArrayIndexOutOfBoundsException : length=5; index=5 异常

java - Recyclerview 持有者在滚动上混合

java - 我应该如何登录 Android 中的 UI?

android-studio - Android Studio Logcat 过滤精确标签

java - 数字 EditText 暂时显示文本键盘(输入连接无效)

android - com.google.android.gms.location.internal.ParcelableGeofence',从方法 gls.a 中引用

android - 从通知 Intent 中删除数据

Android Studio Emulator 卡住并始终加载

java - LogCat 消息的更简洁的着色?