Viewing Variables in the Process Window
First, we’ll add a breakpoint so the program will stop execution and we can view data.
1. Set a breakpoint
Add a breakpoint at line 88, the beginning of the for loop in the load_matrix() function.
At this point, you should have two action points: the breakpoint just added, and the eval point added in the section Evaluation Points”.
 
Click Go. The program should stop on the breakpoint you just added.
Now let’s view some data.
2. View variables in the Stack Frame pane
The Stack Frame pane lists function parameters, local variables, and registers. Scalar values are displayed directly, while aggregate types are identified with just type information.
In the Stack Frame pane, note the value of the local variables i and count: i is 1, and count is 5.
 
3. View variables in a tool tip
In the Source Pane, hover over the variable i to view a tool tip that displays its value: