如何为特定的java进程打开控制台 [英] How to open console for a specific java process
问题描述
你有4个独立的控制台,只是在同一个选项卡。更糟糕的是,正如您所提到的,只要一个控制台更改,Eclipse将自动翻转到该控制台。但是,这是您应该能够禁用的功能。控制台选项卡右侧应该显示显示控制台标准输出更改时。
您可以为每个控制台切换该按钮,以防止在您发生烦人的行为时有多个控制台产生大量的产出。 (旁边的按钮控制标准错误的相同行为。)
然后您可以手动在控制台之间切换
I am running 4 different process in eclipse and 1 of the process keep logging the message to the console. How can I open and attach the console to specific process in eclipse. Even if I have 4 different console the content of the consoles is keep changing to the processing which is logging the latest message. Which I do not want. All I want is four dedicated console so that I can debug every process separately.
You do have 4 separate consoles, they are just all in the same tab. To make matters worse, as you mentioned, as soon as one console changes, Eclipse flips to that console automatically. However, that is a feature you should be able to disable. There should be a button to the right of the console tab that says "Show Console When Standard Output Changes".
You toggle that button on or off for each console to prevent the annoying behavior when you have multiple consoles producing a lot of output. (The button next to it controls the same behavior for standard error.)
You can then toggle between your consoles manually
这篇关于如何为特定的java进程打开控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!