Java Scrapbook Page

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

Note: Content assist (i.e., code assist) is available on scrapbook pages.

Java Scrapbook Page Buttons

Command

Name

Description

Run the Selected Code

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 the Selected Code

Inspecting shows the result of evaluating an expression in the Inspector view.

Terminate

This command terminates the Java VM that is used to evaluate expressions.

Run in Package

This command evaluates expressions as if they were declared in the package selected in the resulting dialog.