halloleo
halloleo

Reputation: 10354

Keep two console windows open for terminated console apps in Eclipse

Using Eclipse Indigo I would like to keep two console windows open - with different content from different terminated apps.

I have the following scenario:

  1. I run a Java console app, it terminates and has some output in the console window
  2. I use the "Open Console" icon to create a new console view.
  3. I run another app (a Python app via the PyDev plugin); it terminates.

After this, both console windows contain the same text (the output from the Python app). To make it clear: the run of the second app (the Python app) cleans both console windows and then writes its output in both windows

But obviously I want the 1st console to show the output of the terminated Java app and the 2nd console to show the Python app.

How can I achieve this?

Upvotes: 0

Views: 2161

Answers (1)

AlexwTT
AlexwTT

Reputation: 78

Select "Open Console" -> "New Console View" for new Console View. With the drop down menu "Display Selected Console" you can choose from diffrent consoles.

To avoid that the console of terminated programs will be deleted go to "Window" -> "Preferences" -> "Run/Debug" -> "Launching" and set "Remove terminated launches ..." to false

Upvotes: 6

Related Questions