简体   繁体   English

蚀启动错误消息,如何捕获

[英]eclipse start up error message, how to catch it

I run an eclipse Java Swing application, it works well. 我运行一个Eclipse Java Swing应用程序,它运行良好。 but I can see the error messages (red color), before the swing application run. 但在运行swing应用程序之前,我可以看到错误消息(红色)。 But I can not catch it, because when the application run, inside "console", there are empty. 但是我无法捕捉到它,因为当应用程序运行时,在“控制台”内部有空的。 Could anyone tell me, how can i view the error messages which were shown in "console" when I start the java application, but suddenly disappear ( is there a log file for eclipse?). 谁能告诉我,当我启动Java应用程序时,如何查看显示在“控制台”中的错误消息,但突然消失(是否有Eclipse的日志文件?)。 Many thanks in advance. 提前谢谢了。

Right click on the console > Preferences > Console buffer size

If you don't want any limit, uncheck the "Limit console output" checkbox. 如果您不希望有任何限制,请取消选中“限制控制台输出”复选框。 That's it. 而已。 You will get all the output written to the console, without getting cleared. 您将所有输出写入控制台,而无需清除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM