Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!knutta From: knutta@lise.unit.no (Knut Alfredsen) Newsgroups: comp.lang.fortran Subject: Debugging Fortran with DBX Message-ID: <1991Apr25.131728.14316@ugle.unit.no> Date: 25 Apr 91 13:17:28 GMT Sender: news@ugle.unit.no Organization: University of Trondheim Lines: 16 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 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