Scrapbook

The JDT contributes a scrapbook facility that can be used to experiment and evaluate Java expressions (such as code snippets). Java scrapbook errors are reported in the editor. Snippets are edited and evaluated in the Scrapbook page editor. In the editor you can select a code snippet, evaluate it, and display the result as a string or show the result object 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


 Copyright IBM Corporation 2000, 2002. All Rights Reserved.