Adding Fortran Data to the Data View
TotalView populates the Fortran Modules view with the list of available Fortran modules in your program after your program has launched. If no program is loaded, or a program is loaded but not started, the view displays a message indicating this.
You can investigate the module data further and modify it by adding the module or any of its members to the Data View.
On this page:
Add a Fortran module or module member to the Data View
You can add a Fortran module or any of its members to the Data View by using the Fortran Modules view context menu or by dragging and dropping it into the Data View.
To add a Fortran module or a module member to the Data View by using the context menu
-
Right-click a Fortran module or module member in the Fortran Modules view, and then select Add to Data View or Add to New Data View.
To add a Fortran module or a module member to the Data View by using drag and drop
-
Click the Fortran module or module member that you want in the Fortran Modules view, and then drag it into the Data View.
You can also add Fortran modules to the Data View, as follows:
-
In the Local Variables view, by using the view context menu options or by dragging and dropping it into the Data View.
-
In the Data View, by double-clicking [Add New Expression] and then entering the module name.
-
In the Source view, by right-clicking on the module name in the code and then using the context menu options.
Step Through Code
As you step through the code or run to the next breakpoint, the focus changes, and the data in the Data View automatically updates.
Figure 56 shows the Fortran module expression data when the program is stopped on a breakpoint at line 16. Figure 57 shows the data when the program continues and then stops at breakpoint 33.
Figure 56. Fortran module data at breakpoint 16
Figure 57. Fortran module data at breakpoint 33
Remove from Data View
To remove the Fortran module expression from the Data View, right-click it and then select Delete.