Scrapbook

The JDT contributes a scrapbook facility that can be used to experiment and evaluate Java code snippets before building a complete Java program. Snippets are edited and evaluated in the Scrapbook page editor, with resultant problems reported in the editor.

From a Java scrapbook editor, you can select a code snippet, evaluate it, and display the result as a string. You can also show the object that results from evaluating a code snippet in the debugger's expressions view.

Related concepts
Java development tools (JDT)
Debugger

Related tasks
Creating a Java scrapbook page
Displaying the result of evaluating an expression
Inspecting the result of evaluating an expression
Using content/code assist
Viewing compilation errors and warnings

Related reference
New Java Scrapbook Page wizard
Java scrapbook page
Expressions view

Legal notices