home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / fortran / 5124 < prev    next >
Encoding:
Text File  |  1993-01-22  |  903 b   |  24 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!msdrl!ball
  3. From: ball@msdrl.com (Richard Ball)
  4. Subject: Re: dbx headache
  5. Message-ID: <1993Jan22.135940.9828@msdrl.com>
  6. Organization: Merck Research Laboratories
  7. References: <93021.234529MATOVICM@QUCDN.QueensU.CA>
  8. Date: Fri, 22 Jan 93 13:59:40 GMT
  9. Lines: 13
  10.  
  11. MATOVICM@QUCDN.QueensU.CA () writes:
  12. : I'm fed up with dbx (SGI, IRIX 3.3.2, IRIX 4.0.1) when debugging fortran
  13. : programs. Examining arrays is pain in a neck unless you deal with the
  14. : size a(3,3) or similar. Is there any way to say e.g.
  15. :   print a from 155 to 175 (and possibly to specify the increment).
  16. : Or, is there any other UNIX (public domain) debugger that can handle
  17. : arrays frinedly?
  18.  
  19. your dbx should let you do
  20. &a(155)/20f
  21. to print the 20 elements of a in floating point format starting at element
  22. 155. It's not the most friendly way but it is better than listing the whole
  23. thing.
  24.