我怎样才能阻止LogCat中输出从Eclipse自动滚动? [英] How can I stop the LogCat output from scrolling automatically in Eclipse?

查看:409
本文介绍了我怎样才能阻止LogCat中输出从Eclipse自动滚动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新:这竟然是在SDK工具R14的错误。它已被固定在R15这是10月/二千〇十三分之二十七释放。更新到最新版本解决了问题,在接受的答案建议。

UPDATE: This turned out to be a bug in R14 of the SDK tools. It has been fixed in R15 which was released on Oct/27/2013. Updating to the latest release solves the problem as suggested in the accepted answer.

我使用LogCat中窗口的调试视图在Eclipse来诊断并修复我的code崩溃。我注意到,在LogCat中输出将自动向下滚动,随时新行添加(但只有在你滚动到下自己)。

I use the LogCat window in the Debug view in Eclipse to diagnose and fix crashes in my code. I've noticed that the LogCat output will automatically scroll down anytime new lines are added (but only after you scroll to the bottom yourself).

这是巨大的,如果我在等异常堆栈跟踪上来,但非常讨厌,如果我想读一些日志多线继续在底部添加(它一直跳跃到中底,所以我回滚到错误,那么就跳转到再次探底)。

This is great if I'm waiting for an exception stacktrace to come up, but extremely annoying if I'm trying to read something in the log and more lines are continuing to be added at the bottom (it keeps jumping to the bottom, so I scroll back to the error, then it jumps to the bottom again).

有没有什么办法让它留在我把它,当我把它,而是继续当我到达底部自动滚动?

Is there any way to make it stay where I've placed it, when I place it, but continue to scroll automatically when I reach the bottom?

编辑:请注意,我所知道的过滤器,我不认为这是一个解决问题的办法。

Please note, I'm aware of filters and I don't consider this a solution to the problem.

另一个编辑:如果我向上滚动远远不够从底部,它会自动停止滚动。远远不够可能是5号线,也可能是500线,它似乎是关系到有多少行是在日志中。理想情况下,它将停止,只要我至少是1号线离底部滚动。

ANOTHER If I scroll up "far enough" from the bottom, it stops scrolling automatically. Far enough might be 5 lines or it might be 500 lines, it seems to be related to how many lines are in the log. Ideally, it would stop scrolling as long as I was at least 1 line away from the bottom.

推荐答案

更​​新到最新版本。新logcat的自动过滤您登录到应用程序特定的崩溃日志,当你通过Eclipse构建,启动应用程序。

update to the latest version. the new logcat automatically filters your logs into the app-specific crash logs when you build-launch your app via eclipse.

这篇关于我怎样才能阻止LogCat中输出从Eclipse自动滚动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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