Eclipse写入控制台 [英] Eclipse write to console
本文介绍了Eclipse写入控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Eclipse中,如何将调试语句写入控制台窗口?我试过:
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屋!
查看全文