Adding a Function Call
The example in the previous section routed around the problem. If all you wanted to do was monitor the value of the global_error variable, you can add a printf() function call that displays its value. For example, the following might be the evalpoint to add to line 4:
printf ("global_error is %d\n", global_error);
TotalView executes this code fragment before the code on line 4; that is, this line executes before global_error is set to 0.