[comp.lang.fortran] Debugging Fortran with DBX

knutta@lise.unit.no (Knut Alfredsen) (04/25/91)

I am debugging a large fortran program on a Sun machine. I am using the dbx debugger running under Sun View. I have some problems I hope somebody could solve for me. 
 How can I print a variable declared in a common block ? When I try to use 
 print <varname> I get "bad data adress". 

 Is it possible to print a part of a large array ? I tried to write print a[1:2], but the result was "syntax error"

I hope that someone knows how to deal with these problems. I would also very much like to know if there is a good fortran debugger running under X Windows.

Thanks in advance

Knut 
-- 
-------------------------------------------------------------------------------
Knut Alfredsen                      |  Mail  : knutta@lise.unit.no
Division of Hydraulic Engineering   |  Phone : +47 7 59 4749
Norwegian Institute of Technology   |  Fax   : +47 7 59 1289