davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Fri Nov 16, 2012 8:26 pm Post subject: |
|
|
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. _________________ Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl |
|