如何输出LogCat中到控制台? [英] How to output LogCat to Console?

查看:605
本文介绍了如何输出LogCat中到控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法,使LogCat中的输出出现在控制台视图在Eclipse?

Is there a way to make LogCat's output to appear in Console view in Eclipse?

LogCat中的观点是不太方便的控制台,因为它是很难看到长消息在它(它们被列边界修剪),并没有可点击突出显示异常堆栈跟踪快速导航到错误的来源。

LogCat view is much less convenient that Console, because it's hard to see long messages in it (they are trimmed by column border) and there are no clickable highlighting in exception stack traces to quickly navigate to source of error.

只是为了清楚 - 我想有点击的踪迹,像在正常的Ec​​lipse控制台这样我就可以快速定位到错误的原因

Just to make clear - I'd like to have clickable stacktraces, like the ones in normal Eclipse console so I can quickly navigate to the source of error.

推荐答案

需要一个额外的步骤,但你可以复制并粘贴到控制台堆栈跟踪查看,然后你得到的可点击的链接。只要从logcat中,复制任何或所有行,并将其粘贴在控制台(在控制台中显示按钮选择Java堆栈跟踪在前)。

Requires an extra step, but you can copy and paste into the Console Stack Trace View, and you then get the clickable links. Just select any or all lines from Logcat, copy, and paste them in the Console (select Java Stack Trace in the Console Display button first).

这篇关于如何输出LogCat中到控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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