Online Eiffel Documentation |
Documentation Home > Tools > EiffelStudio > EiffelStudio Reference > EiffelStudio Debugger > Expression evaluation |
EiffelStudio |
Evaluation tool |
The expression evaluation tool's main part is the list of expressions that should be evaluated.
Its first column gives the expression's text, the context's column gives the context in which the expression is evaluated. The value's column gives the result of the expression, and the type's column the result's type of the expression..
In the screenshot, you can see various expressions, the 4th one, is a dropped object, and the debugger displayed it as itself, this is shown by the context's value "As object", and also by the italic style. The user can name the dropped object by editing the "expression" cell. This is useful to remember the origin of the value.
The 5th expression has an error, the icon is different, and the 'value' shows there is an error, double click on it for more details
Tip: If the expression returns a non-Void (and non basic type) object, then the corresponding row in the list is pickable, and can be dropped for example in the Watch tool to evaluate expression on it, or even to keep the object over the steppings.
Tip: holding the mouse pointer over the expression's cell will popup a tooltip with details on the pointed expression
On top of the list, four buttons can be found.
Tip: Dropping an object onto this list lets you define quickly an expression whose context is the dropped object. This avoids having to type object addresses manually.
If you press the [Control] key during the dropping, you will add the dropped object as itself.
Copyright 1993-2006 Eiffel Software. All rights reserved. |