Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Variable tree

efth
Beginner
701 Views
I would like to know if there is a way to view the history of a variable like a tree and have access to informations like the ones given by the following program FDFW (Fortran Documentation Framework) which runs on UNIX systems.
  • getting type, dimension and other information on variables simply by clicking on them
  • building call and call back trees of subroutines
  • building forward and backward trees of variables, thereby making possible to know the functions or subroutines a variable is passed to
  • building files inclusion trees
  • knowing all subroutines or function using a certain common block
  • and much more...

This would be very interesting since I have been lost in my code (22000 lines...)

Thank you in advance...

0 Kudos
4 Replies
Steven_L_Intel1
Employee
701 Views
Which compiler are you using?
0 Kudos
efth
Beginner
701 Views
I am using the Visual Fortran v6.5 for Windows, on a system with Windows 2000. Is there any hope to find what I am looking for ?....
0 Kudos
Jugoslav_Dujic
Valued Contributor II
701 Views
VS6 has built-in "Source browser" capability. The simplest way to activate is to press F12 in editor when over a variable and you will be asked to rebuild the sources with source browser information. Then, go to "Tools/Source Browser" and uncheck "case sensitive". Investigate the options yourself.
That does not give you all that you want, but you can easily track variables and call trees. The Bad Thing is that the list is not printable in any form.
Another option to look at is "Generate source code listing" somewhere at project/settings. That gives you text fileswith extension .lst in your output directory, which carry some additional information.
However, it's all pretty rudimentary.
Jugoslav
0 Kudos
durisinm
Novice
701 Views

There are third-party programs that provide some of the functionality, but I haven't used any of them. One is FOR_STRUCT from Cobalt Blue. Another is Understand for Fortran from STI (http://www.scitools.com).

Mike D.

0 Kudos
Reply