View previous topic :: View next topic |
Author |
Message |
gourish
Joined: 12 Jul 2005 Posts: 1
|
Posted: Tue Jul 12, 2005 3:56 pm Post subject: Debug my programs |
|
|
Sir/Madam:
I am trying to use some of old fortran programs to work with Salford FTN95 This program works when I use Visual Fortran (1997 Ver 5.0 which does not exist any more). When I compile & build the fixed format fortan files using FT95, I get a whole series of warnings but nothing fatal - *.obj files are created successfully. But when I run the executable, I am getting a fatal error - array subscripts out -of- bonds. Could you please, please, please, help me debug !!!!.
How can post my programs on the forum so that some one take a look at at the code and error file.
Thank you very much.
Gourish Sirdeshpande
717-396-5209
gsirdeshpande@armstrong.com |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8036 Location: Salford, UK
|
Posted: Wed Jul 13, 2005 3:21 am Post subject: Debug my programs |
|
|
If you run the program using the debugger (use SDBG or use the startup options in Plato) then the program will run to the point where it fails.
You will then be able to see which array element has a subscript that is out of range. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed Jul 13, 2005 7:45 am Post subject: Debug my programs |
|
|
Thanks for your suggestion - it is working. Thanks for your help.
gourish |
|
Back to top |
|
|
|