Expressions and Variables
Variables Window
The Variables window in TPF/GI allows C and C++ programmers
to view and edit local variables and the hidden this
variable in their human-readable formats. Programmers can
read char arrays in string format, view doubles in fixed point
format, view shorts, ints, and longs in decimal format, and
access each individual element of an array.
The Variables window lets all local variables be modified
as well as viewed. Programmers can simply overtype a value
in order to interactively test their applications. Struct
fields, class fields, and array elements can also be modified.
The window updates each time users stop in source-level trace,
and changed values are highlighted in red.
Watch Expression Window
The Watch Expression window, new in version 2.6.1, allows
C and C++ programmers to view and edit expressions involving
all variables, including non-local variables. The Watch Expression
window boasts all the human-friendly features of the Local
Variable window, but it adds the ability to watch individual
elements in an array and individual members in struct or class.
In addition, complex multi-variable expressions are supported,
such as p->m[n] and a>=(b*c)-1.
Assembler Expression Facility
Using the Assembler Expression facility, programmers can watch
and edit the results of Assembler and SabreTalk expressions
while they step through their source code.
|