如何禁用的logcat自动滚屏功能? [英] How to disable the autoscroll feature in Logcat?

查看:219
本文介绍了如何禁用的logcat自动滚屏功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用LogCat中来看待我的应用程序的调试输出。 如果其他应用程序正在运行或系统测试设备具有运行LogCat中会滚动所有的时间有些吵后台线程,我必须手动纠正我的位置,以阅读长堆栈跟踪。

I use LogCat to look at the debug output of my apps. If other apps are running or the system has of the test device has some noisy background threads running LogCat will scroll all the time and I have to correct my position manually to read long stack traces.

有没有一种方法来禁用滚动在LogCat中?或者以某种方式调整滚动设置?

Is there a way to disable the scrolling in LogCat? Or somehow tweak the scrolling settings?

推荐答案

一种方法是创建一个过滤器为所有嘈杂的服务。

One way is to create a filter for all the noisy services.

刚刚创建的令人不安的日志标签的过滤器。 LogCat中不会过滤这些邮件出主日志查看和减慢滚动。

Just create a filter with the tag of the disturbing logs. Logcat will not filter those messages out of the main logview and slow down the scrolling.

这是不是最好的解决方案。这将导致与15或20个不同的过滤器LogCat中只用于删除未使用的日志输出。

This is not the best solution. It will lead to a LogCat with 15 or 20 different filters only used to remove not used log output.

更新此外,使用过滤器的Andr​​oid的工具,最后其中一个更新增加了一个暂停按钮logcat的。只要按一下按钮,自动滚屏被禁用。

UPDATE Additionally to using filters one of the last updates of the android tools added a pause button to logcat. Just click the button and autoscroll is disabled.

这篇关于如何禁用的logcat自动滚屏功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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