This view shows the output of the execution of your program and enables you to enter input for the program.
You can choose the different colors for these kinds of text on the preferences pages (Window > Preferences > Debug > Console).
When you right-click in the Console view (or when you press Shift+F10 when the focus is on the Console view), you see the following options:
For example, if the cursor is placed on the following line of output in the console:
at com.foo.bar.Application.run(Application.java:58)
An editor for the type com.foo.bar.Application is opened and line 58 is selected and displayed. Note that if the word 'Application' had been selected, then you would have been prompted to choose a fully qualified instance of 'Application' (if more than one was in the workspace), and an editor would have opened at the beginning of the type.
Icon | Command | Description |
---|---|---|
![]() |
Terminate | Terminates the process that is currently associated with the console. |
![]() |
Remove all Terminated Launches | Removes all terminated launches that are associated with the console. |
![]() |
Scroll Lock | Toggles the Scroll Lock. |
![]() |
Clear Console | Clears the console. | ![]() |
Pin Console | Forces the Console view to remain on top of other views in the window area. | ![]() |
Display Selected Console | If multiple consoles are open, you can select the one to display from a list. | ![]() |
MinimizeConsole | Minimizes the Console view. | ![]() |
Maximize Console | Maximizes the Console view. |