Eclipse Android - Logcat Clearing too Fast

后端 未结 3 1441
野的像风
野的像风 2020-12-05 04:29

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

相关标签:
3条回答
  • 2020-12-05 04:36

    Its happens when there is too many logcat rows. It automatically delete all after reaching maximum number defined in preferences (5000 rows by default in Eclipse), both filtered and not filtered rows.

    Fortunetly, you can change maximum number in:

    Window > Preferences > Android > LogCat > Maximum number of LogCat messages in buffer

    I have the same problem, but only with Sony Xperia C and Android 4.2.2. Every phone have different level of logging.

    0 讨论(0)
  • 2020-12-05 04:42

    You can use breakpoints where you print the messages and debug them by F6/F8 keys after that. So you can see all the messages by step.

    0 讨论(0)
  • 2020-12-05 04:54

    Change your LogCat buffer length:

    Window / Preferences / Android / LogCat / Maximum number of LogCat messages in buffer _

    Set it to 0 for unlimited size (thanks to the commenter below)

    0 讨论(0)
提交回复
热议问题