Use this window to enter and evaluate small fragments of C++, C, Fortran, or assembler code. This code can contain local variable declarations. In C, the data types you can use are
char,
short,
int,
float,
double, and pointers to these data types. In Fortran, the data types you can use are
INTEGER,
REAL,
DOUBLE PRECISION, and
COMPLEX. Your code fragment can also contain references to the target process's variables. The expression can reference local (stack) and global variables. TotalView evaluates stack variables in the context of the currently selected stack frame.
If TotalView encounters a breakpoint while executing a a function called from within your expression (or stops for any other reason), the Evaluate Window is
suspended. You can now debug the called routine as though it had been encountered during normal program operation.
For more information, see the “Evaluating Expressions” section within the “Expressions” chapter of the
TotalView Users Guide.