Graphing an Array

Related Topics:

Graphing an Expression Modifying the Array Display

You can compare different points during the execution of an application by graphing selected expressions in the source code. You can use the graph to observe where problems occur in the program. The Data Graph Window enables you to graph arrays and examine different views of the same data.

All arrays, except complex Fortran arrays, are supported.

To graph an array:

1. Load a program into the Debugging Window.

2. Set at least one breakpoint in the source code.

If you're unsure of where to set a breakpoint, try placing a breakpoint at the end of the program.

3. Run the application.

4. When the application stops, do one of the following:

Note - For C users: You can see a two-dimensional array by merely specifying the array itself; don't give a specific value for the array. You can also graph the array by providing a range in the rightmost index. For instance, in the Expressions text box, you could type b[3][..].

You can also graph an array in the Data Graph window from the Data Display Window. See Graphing an Expression for instructions.