1. October 2020

How to display Debug Console with output from the application in Xcode

When you hit Build and Run button in Xcode the application will start.

If everything is ok you should see messages from the application displayed in the lower right part of Xcode window. The Console output contains text printed by the application.

Sometimes it might happen that there is no Console output window. How to fix it?

Here is small tip for Xcode developers.

To show/hide the Console click the icon Show/Hide the console in the lower right corner. It’s the last icon on the lower right side of the panel.

22. December 2011

How to disable stealing of focus by Console in Eclipse

There is one very annoying issue in Eclipse: stealing of focus by Console window.

Console window is displayed when you run application.

When you set focus to some other window like Search results and application prints something on output then Eclipse will automatically switch to Console window. Your search results are gone.

There is simple way how to get rid of such a behavior.

Go to Window -> Preferences -> Run/Debug -> Console. Uncheck options:

  • Show when program writes to standard out
  • Show when program writes to standard error