Logcat崩溃并显示错误:意外的EOF [英] Logcat crashes with error: unexpected EOF

查看:720
本文介绍了Logcat崩溃并显示错误:意外的EOF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在进行一些冗长的计算,但是很晚才出问题.我尝试使用断点,但到目前为止没有成功.因此,我将一个Log.d进行监视...

I’m running some lengthy calculations and something goes wrong quite late. I tried using breakpoints, but with no success so far. So I put into the loop a Log.d to monitor...

但是很快,Logcat崩溃并显示:

But quite soon, Logcat crashes with:

02-08 16:35:42.820 2936-3402/com.nohkumado.geneticsolving.full D/BaseC: 
    norm:BC sq:49.0 dis:0.0 con:50.0/BC sq:56.0 dis:4.0 con:94.0=1.4069148936170213

    read: unexpected EOF!

    --------- beginning of crash

我需要重新启动Studio才能再次运行Logcat.

and I need to restart the studio to get Logcat running again.

我查看了是否可以找到Logcat缓冲区大小的一些设置,但是到目前为止,我什么都没找到.该怎么办?

I looked if I could find some setting for the buffer size for Logcat, but so far I’ve found nothing. What can be done?

推荐答案

尝试在设置->开发人员选项记录器缓冲区大小设置为关闭. >,在您的设备/仿真器上.这可能是因为 Logger缓冲区配置为仅在特定时间显示有限的KB日志.只有清除了先前的缓冲区后,才会显示下一组日志.

Try setting Logger buffer sizes to off under Settings->Developer options, on your device/emulator. This might be happening because Logger buffer is configured to display limited KB of logs only at a particular time. Next set of logs would only be displayed once previous buffer is cleared.

这篇关于Logcat崩溃并显示错误:意外的EOF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆