blob: d59d149ba313663e6292346eb46ba6989b3d7fbf [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>
Java scrapbook page
</title>
</head>
<body>
<h1>
Java scrapbook page
</h1>
<p>
The scrapbook allows Java expressions to be run, inspected, and displayed, under the control of the debugger.
</p>
<p>
<strong>Note:</strong> Content assist (such as code assist) is available on scrapbook pages.
</p>
<table border="1" cellspacing="0" cellpadding="5">
<caption>
Java Scrapbook page buttons
</caption>
<thead>
<tr>
<th rowspan="1" colspan="1">
<p>
Command
</p>
</th>
<th rowspan="1" colspan="1">
<p>
Name
</p>
</th>
<th rowspan="1" colspan="1">
<p>
Description
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="1" colspan="1" valign="top" align="left">
<img src="../images/org.eclipse.jdt.debug.ui/etool16/run_sbook.png" align="baseline" alt="Run Snippet button">
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Run Snippet
</p>
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Running an expression evaluates an expression but does not display a result.
</p>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1" valign="top" align="left">
<img src="../images/org.eclipse.jdt.debug.ui/etool16/disp_sbook.png" align="baseline" alt="Display button">
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Display
</p>
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Displaying shows the result of evaluating an expression as a string in the scrapbook editor.
</p>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1" valign="top" align="left">
<img src="../images/org.eclipse.jdt.debug.ui/etool16/insp_sbook.png" align="baseline" alt="Inspect button">
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Inspect
</p>
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Inspecting shows the result of evaluating an expression in the Expressions view.
</p>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1" valign="top" align="left">
<img src="../images/org.eclipse.jdt.debug.ui/etool16/term_sbook.png" align="baseline" alt="Terminate button">
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Terminate
</p>
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
This command terminates the Java VM that is used to evaluate expressions.
</p>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1" valign="top" align="left">
<img src="../images/org.eclipse.jdt.ui/obj16/impc_obj.png" align="baseline" alt="Set the import Declarations button">
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
Set the Import Declarations
</p>
</td>
<td rowspan="1" colspan="1" valign="top" align="left">
<p>
This commands sets the import declarations to be used for the context of evaluating the code
</p>
</td>
</tr>
</tbody>
</table>
<p>
<img border="0" src="../images/ngrelc.png" alt="Related concepts" >
</p>
<p>
<a href="../concepts/concepts-11.htm">Scrapbook</a>
</p>
<p>
<img border="0" src="../images/ngrelt.png" alt="Related tasks" >
</p>
<p>
<a href="../tasks/tasks-149.htm">Creating a Java scrapbook page</a><br>
<a href="../tasks/tasks-151.htm">Displaying the result of evaluating an expression</a><br>
<a href="../tasks/tasks-150.htm">Inspecting the result of evaluating an expression</a><br>
<a href="../tasks/tasks-152.htm">Executing an expression</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference">
</p>
<p>
<a href="../reference/ref-129.htm">New Java Scrapbook Page wizard</a>
</p>
</body>
</html>