Android 中的 Logcat 过滤器

发布于 2024-12-12 06:45:44 字数 524 浏览 0 评论 0原文

我正在尝试选择一条针对文本进行过滤的行。当我删除行文本时,我选择的行将不会集中在屏幕上。查看过滤文本的上下行的最佳方式是什么。 我正在使用 Eclipse 和最新的 Android ADT。

希望您能理解我的问题并尝试解决我的问题。

例子:

I have some logs for my application.
I write in Logs filter "ABC MSG"
Now, I can see only logs which have "ABC MSG" text.
I select a particular line
Now, I want to see the top tow lines of my selection but may be those lines have no "ABC MSG"
When I remove the text from the filter box, my windows start from the last line and scrolling start.
Where is my selection.

I am trying to select a line which is filtered for the text. When I remove the line text my selected line will not be focused on screen. What is the best way to view the upper and lower lines of the filtered text.
I am using Eclipse and latest ADT for Android.

Hope you will understand my problem and trying to solve my problem.

Example:

I have some logs for my application.
I write in Logs filter "ABC MSG"
Now, I can see only logs which have "ABC MSG" text.
I select a particular line
Now, I want to see the top tow lines of my selection but may be those lines have no "ABC MSG"
When I remove the text from the filter box, my windows start from the last line and scrolling start.
Where is my selection.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

带上头具痛哭 2024-12-19 06:45:44

在“调试”(Eclipse) 中,选择“创建过滤器”(绿色十字),然后添加过滤器文本。

In Debug (Eclipse) select Create Filter (the green cross), and add your filter text.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文