Hi everybody. I wonder if there is this line by line debugging system in FORTRAN? I mean something the same as MATLAB that you can see line by line between two breakpoints the calculated values of each correlation and code.
Thanks
Welcome to our forums
Hi everybody. I wonder if there is this line by line debugging system in FORTRAN? I mean something the same as MATLAB that you can see line by line between two breakpoints the calculated values of each correlation and code.
Thanks
You can debug using Plato and the Silverfrost debugger.
First make sure you compile your project with debugging or checkmate enabled. Then right-click on the first line of your program and click 'Run to Cursor'. The debugger will run and show your program paused on that line.
You can then step through the code line by line by pressing F7 and examine the values of variables. These can be viewed in a special variables window, or by pointing to a variable in the source code. For arrays and user defined data types, you can see the contents of the variable by right-clicking on it.
You can run the debugger outside of Plato but I think this is the easiest way when you are starting out.
If you are using the visual studio shell plugin (FTN95 Express), you can also debug in that in the same way.
If you have any problems, post back, and I or someone else will try to help.