问题描述
我使用Eclipse为Android(获得最新版本),与没有问题的logcat的一段时间一直。对于未知的原因,logcat中不再保留调试信息。 logcat的是越来越清约5秒钟。有没有什么办法prevent自动清算logcat的消息?否则,我无法读取信息。
I have been using Eclipse for Android (most up to date version), for a while with no problems with the Logcat. For an unknown reason, Logcat is no longer retaining the debug messages. Logcat is getting cleared in about 5 seconds . Is there any way to prevent the auto-clearing of Logcat messages? Otherwise I am unable to read the messages.
推荐答案
更改LogCat中缓冲区长度:
Change your LogCat buffer length:
窗口/ preferences /安卓/ LogCat中/最大LogCat中的消息缓冲号 _
Window / Preferences / Android / LogCat / Maximum number of LogCat messages in buffer _
将其设置为0表示无限大(感谢以下评论者)
Set it to 0 for unlimited size (thanks to the commenter below)
这篇关于Eclipse的机器人 - logcat的结算过快的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!