Eclipse写入控制台 [英] Eclipse write to console

查看:143
本文介绍了Eclipse写入控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中,如何将debug语句写入控制台窗口?我试过:

In Eclipse, how can I write a debug statement to a console window? I tried:

System.out.print(urls);

System.out.println(urls);       

Log.d("tag", urls);

但我看不到任何地方显示的值。

But I don't see the values being displayed anywhere.

感谢。

推荐答案

创建控制台并写入。创建控制台时,您可以为其命名。这样,您的控制台输出可以与其他插件的控制台输出分开。有关详细信息,请参阅此文章。

Create a console and write to it. When a console is created, you give it a name. That way your console output can be kept separate from other plugin's console output. See this article for details.

http://wiki.eclipse.org/FAQ_How_do_I_write_to_the_console_from_a_plug-in %3F

这篇关于Eclipse写入控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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