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

Related concepts

Scrapbook

Related tasks

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

Related reference

New Java Scrapbook Page wizard


Copyright IBM Corporation 2000, 2002. All Rights Reserved.