Java Reference
In-Depth Information
There can only be one temporary configuration for the current project.
If you create a new temporary configuration without saving the existing
one, the existing configuration will be overwritten. Make a habit of sav-
ing useful configurations, because they can be easily overwritten if left in
a temporary state.
NOTE
5.3.3
Using the Run window console
The Run tool window appears whenever you launch an application from within
IDEA . It displays any output generated from the program as well as provides a
mechanism for entering any input required. You can see an example of the Run
window in action in figure 5.21.
Understanding output in the Run window
Any output generated from the running program appears in the Run window
console. The color of the text indicates the source of the output:
Black indicates output sent to the System.out stream.
Red indicates output sent to the System.err stream.
Green indicates input received from the console, presumably from you.
As you can see from the example, if you're so unfortunate to encounter a stack
trace, IDEA links stack trace entries back to the original source file and line num-
ber. Click to load the source file into the editor, and position the cursor at the
appropriate line number. If you need to copy the output of the application,
right-click in the console and select Copy Content to place a copy of the entire
output into the clipboard. If you've selected some text, this option is replaced
with the command Copy Selection , which limits the copy operation to the
Figure 5.21 The Run tool window displays the output of the running process,
color-coded by output stream and hyperlinked back into your source code, making
the investigation of uncaught exceptions faster and easier.
 
 
 
Search WWH ::




Custom Search