7 Examining Data
DDD provides several means to examine data.
* The quickest way to examine variables is to move the pointer on an
occurrence in the source text. The value is displayed in the
source line; after a second, a popup window (called "value tip")
shows the variable value. This is useful for quick examination of
several simple values.
* If you want to refer to variable values at a later time, you can
"print" the value in the debugger console. This allows for
displaying and examining larger data structures.
* If you want to examine complex data structures, you can "display"
them graphically in the data window. Displays remain effective
until you delete them; they are updated each time the program
stops. This is useful for large dynamic structures.
* If you want to examine arrays of numeric values, you can "plot"
them graphically in a separate plot window. The plot is updated
each time the program stops. This is useful for large numeric
* Using GDB or DBX, you can also "examine memory contents" in any of
several formats, independently of your program's data types.
- Value Tips
- Just move the pointer on a variable.
- Printing Values
- Printing a value in the debugger console.
- Displaying Values
- Displaying structures as graphs.
- Plotting Values
- Displaying values as plots.
- Examining Memory
- Low-level memory examination.
automatically generated by info2www version 220.127.116.11