Chapter 12 Evaluating Expressions
Whether you realize it or not, you’ve been telling TotalView to evaluate expressions and you’ve even been entering them. In every programming language, variables are actually expressions—actually they are lvalues—whose evaluation ends with the interpretation of memory locations into a displayable value. Structure, pointer and array variables, particularly arrays where the index is also a variable, are slightly more complicated.
While debugging, you also need to evaluate expressions that contain function calls and programming language elements such as for and while loops.
This chapter discusses what you can do evaluating expressions within TotalView. The topics discussed are: