Eclipse 输出控制台滚动时出现烦人的错误对话框。是什么原因造成的?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3282421/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Annoying error dialog box when eclipse output-console scrolls. What's causing it?
提问by Salim Fadhley
When I run python scripts in Eclipse with Pydev - after a few seconds I get an eclipse Error dialog.
当我使用 Pydev 在 Eclipse 中运行 python 脚本时 - 几秒钟后,我收到一个 Eclipse 错误对话框。
The window title is "Multiple Problems have occurred".
窗口标题是“发生多个问题”。
The box has a red X icon, adjacent to an error message "An internal error has occurred"
该框有一个红色 X 图标,旁边是错误消息“发生内部错误”
The list of error windows all have the text "Reveal End of Document". If I click on details I get the follow-on message
错误窗口列表都包含文本“Reveal End of Document”。如果我点击详细信息,我会收到后续消息
An internal error has occurred.
39
This problem seems to be related to the console. I've noticed that the scroll-bar is missing. I can sometimes scroll using the arrow keys, however scrolling occasionally causes the console area to mess up. I've googled that "Reveal End of Document" is supposed to be an exclipse IDE function which ought to cause a console to jump to the end.
这个问题似乎与控制台有关。我注意到滚动条不见了。我有时可以使用箭头键滚动,但是滚动偶尔会导致控制台区域混乱。我在谷歌上搜索到“显示文档结尾”应该是一个 exclipse IDE 功能,它应该导致控制台跳到最后。
Does anybody have an idea what might be going on? How can I fix this problem? It's really annoying.
有人知道会发生什么吗?我该如何解决这个问题?这真的很烦人。
Using Eclipse 3.6 on an up to date Sun JDK with Pydev plugin on Windows XP 32 bit.
在 Windows XP 32 位上使用带有 Pydev 插件的最新 Sun JDK 上的 Eclipse 3.6。
回答by stridge
This seems to be related to Eclipse Bug 243877 - IOConsole Updater error with long output lines
这似乎与Eclipse Bug 243877 - IOConsole Updater error with long output lines 有关
I am not using Pydev but I have been getting a lot of these "Reveal End of Document" popups and "org.eclipse.text" exceptions.
我没有使用 Pydev,但我已经收到了很多这些“显示文档结束”弹出窗口和“org.eclipse.text”异常。
As mentioned in the bug report, it is directly related to the "Fixed width console" check box in Eclipse Preferences -> Run/Debug -> Console. When I checked the box and got too long message in my console, the exceptions flooded in. As soon as I unchecked the box, it stopped.
如错误报告中所述,它与Eclipse Preferences -> Run/Debug -> Console 中的“固定宽度控制台”复选框直接相关。当我选中该框并在控制台中收到太长的消息时,异常大量涌入。一旦我取消选中该框,它就会停止。
Can't believe its still here in Indigo.
不敢相信它还在 Indigo 中。
回答by tharindu_DG
Just Uncheck Fixed width console.
只需取消选中Fixed width console。
Yes, this answer sounds weird, But it worked for me.
是的,这个答案听起来很奇怪,但它对我有用。
Hope this helps.
希望这可以帮助。
回答by jersey-city-ninja
What worked for me: Closing all windows and views.
Right click on a source tab -> Close All. Do the same for Views. Re-run application. Console automatically opens with output with no annoying error popup.
对我有用的方法:关闭所有窗口和视图。
右键单击源选项卡 -> 全部关闭。对视图执行相同操作。重新运行应用程序。控制台自动打开并输出,没有烦人的错误弹出窗口。
回答by guilieen
It happens when your program exceeding the console width.
If you clear the console, the message box stop.
Right click and clear console (also when it's running).
当您的程序超出控制台宽度时会发生这种情况。
如果清除控制台,消息框将停止。
右键单击并清除控制台(也在运行时)。