如何让 Eclipse 保留控制台输出?
我在 Win XP 上使用 Java 6 的 Eclipse Indigo。我有一个带有 GWT (2.3) 的 Maven 项目,当我启动我的项目(运行 -> Web 应用程序)时,应用程序抛出一些启动错误。然而,控制台只保留了错误的最后一部分,我不知道是什么开始了这一切。
http://screencast.com/t/MsgM1SuxI
请注意,在屏幕截图中,我已尽可能向上滚动,但仍然堆栈跟踪被切断。如何让 Eclipse 保存整个控制台错误日志?
谢谢,-戴夫
I'm using Eclipse Indigo on Win XP with Java 6. I have a Maven project with GWT (2.3), and when I launch my project (Run -> Web Application), the app is throwing some startup errors. However, the console is only preserving the last part of the errors, and I can't tell what started it all off.
http://screencast.com/t/MsgM1SuxI
Notice in the screen shot, I've scrolled up as much as possible but still the stack trace is cut off. How can I get Eclipse to save the entire console error log?
Thanks, - Dave
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在首选项中调整 Eclipse 的控制台缓冲区大小。请参阅http://codeyarns.wordpress.com/2010/01 /20/eclipse-console-buffer-size/:
You can adjust Eclipse's console buffer size in the preferences. See http://codeyarns.wordpress.com/2010/01/20/eclipse-console-buffer-size/: