开发者

Disable the second, empty console labeled [Debug Console] when starting a debug target

For reasons unclear, Eclipse has recently started bringing up two consoles every time I debug a project. One console displays typical console information (stdout, stderr, etc.), and the other displays nothing. The titles are the same, except that the empty console is prefixed with "[Debug Console]". The empty one also comes up on top, which is quite inconvenien开发者_Go百科t.

I haven't found anything useful in Eclipse's preferences or on Google. Does anyone have an idea as to why this is happening and how I can stop it?


I had exactly the same problem, it did take me a while to figure out that not the logger was broken but Eclipse (Indigo / 3.7).

However, a simple Eclipse restart did helped me.


The same problem is present in Eclipse Juno (3.8) as well. There is a ticket open in the Eclipse bugtracker here, but it hasn't garnered any activity.

As mentioned in the ticket and by others here, restarting Eclipse seems to fix the issue.


first you may try to remove your "workspace/.metadata" directory. then restart eclipse.


You need to re-enable the automatic console view.

Go to Window->Preferences->Run/Debug->Console. Then check both:

+Show when program writes to standard out

+Show when program writes to standard error

Apply/OK.

(Works with Indigo/3.7)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜