android studio的logcat,Updated logcat viewer

本文介绍了Logcat在Android开发中的重要性,如何快速搜索日志,以及ADT(Android Developer Tools)如何自动监控Logcat以帮助开发者定位错误。ADT现在会在Eclipse中自动显示Logcat视图,当应用出现错误时会突出显示,修复了Logcat不自动追尾和日志不换行等问题。此外,还提到Logcat窗口有时会闪烁显示几行文本的已知问题。
摘要由CSDN通过智能技术生成

3. The search bar at the top of the logcat view can be used to quickly search for messages matching a pattern. By default, the search is performed in the Text field of the log message. You can specify a different field to search by prefixing your search term with “pid:”, “app:”, or “tag:”. e.g: pid:225

4. One common issue we see is that developers new to Android do not know about logcat, and hence might spend a lot of time debugging issues when a relevant error message might have appeared in logcat. To help such users, ADT now automatically monitors the logcat stream when you run an application from Eclipse, and if there are any error messages that originate from your application, it will bring the logcat viewer to the foreground.

This update should fix a number of bugs including:

Issue18272- Logcat tab in Eclipse will not “tail” the end of the buffer

Issue18205- ADB logcat (ADT) does not offer wrapping for the log output. The logcat view still does not offer full wrapping, but we’ve added a tooltip that should show the complete log whenever you hover over the corresponding line.

Issue2752- Eclipse plugin logcat window blinks a few lines of text at a time.

If you find any issues, please file bug reports at the Issue Tracker.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值