Topic: showing module variable values in debug window

Is there a way to display the values of variables declared in a module in another program units that USES the module? 

For example, running the following program under the debugger

module tryit
end module tryit
program testmod
  use tryit
end program testmod

The two variables i and j are not shown at all in the debug variables pane.  You can click-select them in the sourcecode pane and their value will be displayed, but it would be much more useful to have the variables tracked in the variable pane.

Am I missing something?


Re: showing module variable values in debug window

The "Variables" display in the Debugging panel is actually displaying only local variables, and it probably should have been labeled better.  You would have to add a watch expression to view i and j in your example.

Jeff Armstrong
Approximatrix, LLC