Setting Eval Points
This section contains the steps you must follow to create an eval point. These steps are as follows:
1 Display the
Action Point > Properties Dialog Box. You can do this, for example, by right-clicking a
icon and selecting
Properties or by selecting a line and then invoking the command from the menu bar.
2 Select the Evaluate button at the top of the dialog box.
3 Select the button for the language in which you plan to write the fragment.
5 For multi-process programs, decide whether to share the eval point among all processes in the program’s share group. By default, TotalView selects the Plant in share group check box for multi-process programs, but you can override this by clearing this setting.
6 Select the OK button to confirm your changes.
If the code fragment has an error, TotalView displays an error message. Otherwise, it processes the code, closes the dialog box, and places an
icon on the line number in the Source Pane.
The variables that you refer to in your eval point can either have a global scope or be local to the block of the line that contains the eval point. If you declare a variable in the eval point, its scope is the block that contains the eval point unless, for example, you declare it in some other scope or declare it to be a static variable.