# Java Scrapbook Page

The scrapbook allows Java expressions to be run, inspected, and displayed, under the control of the debugger.

Note: Content assist (such as code assist) is available on scrapbook pages.

Java Scrapbook page buttons
Command | Name | Description
--- | --- | ---
| Run Snippet | Running an expression evaluates an expression but does not display a result.
| Display | Displaying shows the result of evaluating an expression as a string in the scrapbook editor.
| Inspect | Inspecting shows the result of evaluating an expression in the Expressions view.
| Terminate | This command terminates the Java VM that is used to evaluate expressions.
| Set the Import Declarations | This commands sets the import declarations to be used for the context of evaluating the code

Scrapbook

Creating a Java scrapbook page
Displaying the result of evaluating an expression
Inspecting the result of evaluating an expression
Executing an expression

New Java scrapbook page wizard